Skip to content

About

Data Structures in C

Resources

Stars

6 stars

Watchers

1 watching

Forks

Latest commit

 

History

39 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📚 Data Structures and Algorithms in C

This repository contains my implementations of fundamental Data Structures and Algorithms (DSA) in the C programming language.

I created these programs while learning DSA to improve my programming skills, strengthen my understanding of core concepts, and build a strong foundation for coding interviews and placements.


Topics Covered

Arrays

  • 1D Array
  • 2D Array
  • 2D Array using Pointers
  • Array using Pointers
  • Array Traversal
  • Array Insertion
  • Insert at Beginning
  • Array Deletion

Searching

  • Linear Search
  • Binary Search

Sorting

  • Bubble Sort
  • Selection Sort
  • Insertion Sort
  • Merge Sort
  • Quick Sort

Linked Lists

  • Singly Linked List
  • Circular Linked List
  • Doubly Linked List

Stack

  • Stack using Array
  • Stack using Linked List

Queue

  • Queue using Array
  • Queue using Linked List
  • Queue using Stack
  • Circular Queue using Array
  • Circular Queue using Linked List
  • Deque using Circular Array

Trees

  • Binary Tree
  • Binary Search Tree (BST)
  • Full BST
  • Heapify
  • Maximum & Minimum in BST

Pointers

  • Pointer Basics
  • Arrays and Pointers

Features

  • Beginner-friendly C programs
  • Covers essential Data Structures
  • Includes popular Searching and Sorting algorithms
  • Easy to understand and practice
  • Written for learning purposes

Technologies Used

  • C Programming Language
  • GCC Compiler
  • Visual Studio Code

How to Run

Compile any C program using GCC.

gcc filename.c -o output

Run the program:

./output

Example:

gcc binary_search.c -o binary_search
./binary_search

Purpose

The purpose of this repository is to learn and practice Data Structures and Algorithms by implementing them from scratch in C without using external libraries.


Future Improvements

  • Add Time and Space Complexity for each program
  • Add Graph Data Structure
  • Add AVL Tree
  • Add Trie
  • Add Sample Inputs and Outputs
  • Improve code organization

Author

Trayam Roy

B.Tech Information Technology

GitHub: https://github.com/heyytrayamm

06:14 AM,Midnapore,WB

About

Data Structures in C

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages