Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hassanbahati/design-and-analysis-of-algorithms
https://github.com/hassanbahati/design-and-analysis-of-algorithms
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/hassanbahati/design-and-analysis-of-algorithms
- Owner: HassanBahati
- Created: 2022-09-14T13:31:08.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-16T12:42:25.000Z (over 2 years ago)
- Last Synced: 2024-10-28T09:14:31.099Z (3 months ago)
- Language: Python
- Size: 40 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
Data Structure - A data storage format. It is a collection of values and the format they are stored in, the relationship between the values in the collection as well as the operations applied on the data stored in the structure.
Operations on Data Structures
- Access and read values
- Search for an arbitrary values
- Insert values at any point into the structure
- Delete values in the structure
Each data structure solves a particular problem
# how to solve problems:
- State the problem clearlly. Identify the input and output formats.
- Come up with some example inputs and outputs. Try to cover all edges cases.
- Come up with a correct solution for the problem. State it in plain English.
- implement the solution and test it using example inputs. Fix bugs, if any.
- Analze the algorithm's complexity and identify inefficiencies, if any.
- Apply the right technique to cover the inefficiency. Repeat steps 3 to 6.Edge cases
1. the number query occurs somewhere in the middle of the list
2.