How helan-rajpurohit/dsa works
This repository is a collection of standalone C and C++ data-structure and algorithm exercises, rather than one integrated application. The typical interaction is a user entering values or choosing menu operations in a console program, which then searches, transforms, or updates an in-memory structure and prints results. The graph groups the exercises by subject and preserves the five CORE MODULES. Most examples are independent; the provided excerpts do not establish links between them, so no cross-example workflow is implied.
Main entry points: Linear_Search.c Linear search · Lab_1/Search_Element.c Array search · Lab_2/Search_Element.c 3D matrix search · Saddle_Points.c Saddle points
Components 18
Array Exercises
- Array operations
Lab_1 - Linear search
Lab_1/Linear_Search.c - Array search
Lab_1/Search_Element.c
Matrix Exercises
- Matrix operations
Lab_2 - 3D matrix search
Lab_2/Search_Element.c - Saddle points
Lab_2/Saddle_Points.c
Linked Lists
- Singly linked lists
Lab_3 - Student records
Lab_3/Student_Details.c - Singly list operations
Lab_4/Singly_Linkedlist.c - Doubly list operations
Lab_4/Doubly_Linkedlist.c - Doubly list C++
Lab_4/Doubly_Linkedlist.cpp - Circular singly list
Lab_5/Singly_Circular_Linkedlist.cpp - Circular doubly list
Lab_5/Doubly_Circular_Linkedlist.c - Circular doubly C++
Lab_5/Doubly_Circular_Linkedlist.cpp
List Applications
- Music playlist
Lab_5/Music_Playlist.c - Polynomial evaluation
Lab_5/Polynomial_Evaluation.c - Round-robin scheduling
Lab_5/Round_Robin.c
Other components
- Console user
Connections 10
- Console user → Linear search: enters values
Lab_1/Linear_Search.c - Console user → Array search: enters values
Lab_1/Search_Element.c - Console user → 3D matrix search: enters values
Lab_2/Search_Element.c - Console user → Saddle points: enters matrix
Lab_2/Saddle_Points.c - Console user → Doubly list operations: chooses operations
Lab_4/Doubly_Linkedlist.c - Console user → Doubly list C++: chooses operations
Lab_4/Doubly_Linkedlist.cpp - Console user → Circular singly list: chooses operations
Lab_5/Singly_Circular_Linkedlist.cpp - Console user → Circular doubly list: chooses operations
Lab_5/Doubly_Circular_Linkedlist.c - Console user → Circular doubly C++: chooses operations
Lab_5/Doubly_Circular_Linkedlist.cpp - Console user → Student records: chooses operations
Lab_3/Student_Details.c