GithubHelp home page GithubHelp logo

data-structures's Introduction

data-structures

data structures implemented in go

Where have you seen ๐——๐—ฎ๐˜๐—ฎ ๐—ฆ๐˜๐—ฟ๐˜‚๐—ฐ๐˜๐˜‚๐—ฟ๐—ฒ๐˜€ in ๐—ฟ๐—ฒ๐—ฎ๐—น ๐˜๐—ถ๐—บ๐—ฒ ๐—”๐—ฝ๐—ฝ๐—น๐—ถ๐—ฐ๐—ฎ๐˜๐—ถ๐—ผ๐—ป๐˜€ ?

๐’๐ญ๐š๐œ๐ค:

  1. UNDO option
  2. Text editor: you push letter by letter to the stack so you erase back.
  3. Recursion(inbuilt stack)

๐๐ฎ๐ž๐ฎ๐ž:

  1. Your browser deletes the history past one month.
  2. If you delete a picture on your phone, it will be the "recently delete" folder which says "the images will be deleted permanently after one week". Here all the images are stored in the queue so it's easier to pop from the rear based on the image deletion date.
  3. Waiting list: during online registrations, sometimes you'll be put on the waiting list. basically, all the requests will be stored in the queue.

๐‹๐ข๐ง๐ค๐ž๐ ๐ฅ๐ข๐ฌ๐ญ:

  1. Browser's Next and Previous Button: a linked list of URLs
  2. music player where you can play the next or previous song. (Doubly linked list).
  3. In the ludo game, It has to pass the chance to each player in a circular fashion (circular linked list).

๐“๐ซ๐ž๐ž๐ฌ:

  1. File system: Folders and subfolders (N-ary tree).
  2. e-commerce websites : category -> subcategories -> products
  3. Auto-suggestion when you google (Trie)

๐†๐ซ๐š๐ฉ๐ก๐ฌ:

  1. Uber, Ola cab booking: show nearest available cars (BFS)
  2. Maven dependencies build order ( Topological sorting (DFS))
  3. While booking bus/flights, you get a list of available routes.
  4. In Facebook, users are considered to be the vertices and if they are friends then there is an edge running between them. Facebookโ€™s Friend suggestion algorithm uses graph theory. Facebook is an example of an undirected graph.

data-structures's People

Contributors

shani1998 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.