Skip to content

Arelaxe/dataStructures

 
 

Repository files navigation

GitHub license GitHub forks GitHub issues GitHub stars

Data Structures

This repository contains the various progams on Data Structures and Algorithms using C and C++.

Further, it contains the programs which are commonly asked in the technical interviews of companies like Microsoft, Amazon, Flipkart, DE Shaw etc.

Data structures in english

The following is a simple language explanation of a few data structures. For the sake of simplicity imagine that you have a set of Objects (small cubes or spheres or something) and that you can connect them in arbitrary ways.

Linked Lists

A linked lists are simple data structures where each object links to the object behind and sometimes to the object in front of it. The basic idea is to line your objects up on after the other. These data structures are easy to deal with but are slow when you have sufficiently large lists. In general you can only access a linked list from the front or the back (or both) and in order to find something in it you may need to walk the entire list.

Arrays

1D Arrays are like linked lists, but where you can access each element directly. This is great if you know what you want out of it, but no better if you need to search through until you find a match. Higher order arrays (2D, 3D, 4D, etc...) give greater granularity and can help if you can give meaningful ordering to each new dimension. ex name on dimension 1 and age on dimension 2.

Resources

Open Data Structures
Data Structures on hackerearth
Resources on Codechef

If you found this helpful or learned something today and want to thank me, consider buying me a cup of coffee.

Authors

  • Ashish Krishan - Initial work

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 48.0%
  • C++ 35.6%
  • Python 16.4%