https://github.com/bhartik021/data-structure-algorithm
An repository that contains all the Data Structures and Algorithms concepts and their implementation in several ways, programming questions and Interview questions. The main aim of this repository is to help students who are learning Data Structures and Algorithms or preparing for an interview.
https://github.com/bhartik021/data-structure-algorithm
algorithm algorithms algorithms-and-data-structures algorithms-datastructures array binary-search bit-magic bit-manipulation cpp cpp-stl data-structures data-structures-and-algorithms linear-search mathematics recursion searching searching-algorithms stl string tree
Last synced: about 1 month ago
JSON representation
An repository that contains all the Data Structures and Algorithms concepts and their implementation in several ways, programming questions and Interview questions. The main aim of this repository is to help students who are learning Data Structures and Algorithms or preparing for an interview.
- Host: GitHub
- URL: https://github.com/bhartik021/data-structure-algorithm
- Owner: bhartik021
- Created: 2022-06-04T21:47:06.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-20T16:49:15.000Z (about 1 year ago)
- Last Synced: 2025-04-11T20:19:45.264Z (about 1 month ago)
- Topics: algorithm, algorithms, algorithms-and-data-structures, algorithms-datastructures, array, binary-search, bit-magic, bit-manipulation, cpp, cpp-stl, data-structures, data-structures-and-algorithms, linear-search, mathematics, recursion, searching, searching-algorithms, stl, string, tree
- Language: C++
- Homepage:
- Size: 582 KB
- Stars: 11
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Data-Structure-Algorithm
### Data Structure
Data structure is a particular way of storing and organizing data in a computer so that it can be used efficiently. A data structure is a special format for organizing and storing data. General data structure types include arrays, files, linked lists, stacks, queues, trees, graphs, and so on.Depending on the organization of the elements, data structures are classified into types:
* Linear data structures: Elements are accessed in a sequential order but it is not compulsory to store all elements sequentially. Examples: linked lists, stacks, queues.
* Non-linear data structures: Elements of this data structure are stored/accessed in a non-linear order. Examples: Trees and graphs.
### Algorithm
An algorithm is the step-by-step unambiguous instructions to solve a given problem.* In the traditional study of algorithms, there are two main criteria for judging the merits of algorithms:
* Correctness (does the algorithm give a solution to the problem in a finite number of steps?)
* Efficiency (how much resources (in terms of memory and time) does it take to execute.)
