Java Hyd Team
746 subscribers
986 photos
39 videos
670 files
690 links
https://teamhydteam.my.canva.site/

Can visit us on our website ๐Ÿ˜Š
Still working on it ๐Ÿ˜Š
Download Telegram
ALGORITHM YOU SHOULD KNOW for PREPARING SYSTEM DESIGN INTERVIEW ๐Ÿ’ก

๐Ÿ”บREQUIREMENTS :-
KNOW WHEN TO USE
KNOW HOW IT WORKS

โ—พ1) BLOOM FILTER
It is a data structure designed to tell you, rapidly and memory-efficiently, whether an element is present in a set.
- use case :: Build a Web crawler

โ—พ2) FRUGAL STREAMING
It uses only one unit of memory per group to compute a quantile for each group.
-use case :: Find the nth percentile of the data stream.

โ—พ3) GEOHASH/ S2 GEOMETRY
A collection of efficient yet exact mathematical predicates for testing relationships among geometric primitives.
-use case :: Location-based search results with DynamoDb and Geohash.

โ—พ4) HYPERLOGLOG
It is an algorithm for the count-distinct problem, approximating the number of distinct elements in a multiset.
-use case :: privacy-preserving traffic heat map for the city.

โ—พ5) LEAKY BUCKET/ TOKEN BUCKET
A mechanism to control the amount and the rate of the traffic sent to the network.
-use case :: Design a scalable rate-limiting algorithm.

โ—พ6) LOSSY COUNT
It is used to identify elements in a data stream whose frequency count exceeds a user-given threshold.
-use case :: Frequency count over the data streams.

โ—พ7) OPERATIONAL TRANSFORMATION
It is used for supporting a range of collaboration functionalities in advanced collaborative software systems.
-use case :: Handling editing collision in Google docs.

โ—พ8) QUADTREE/ RTREE
It is a two-dimensional analog of octrees and is most often used to partition a two-dimensional space by recursively subdividing it into four quadrants or regions.
-use case :: Find nearby interest points

โ—พ9) RAY CASTING
It is the most basic of many computer graphics rendering algo that uses geometric algo of ray tracing.
-use case :: Using longitude and latitude, return the Country of the point.

โ—พ10) REVERSE INDEX
It is an index of keywords that stores records of documents that contain keywords in the list.
-use case: Building a complete Tweet index.

โ—พ11) RSYNC ALGORITHM
Used for reducing the cost of a file transfer by avoiding the transfer of blocks that are already at the destination.
-use case :: Streaming file Sync

โ—พ12) TRIE ALGORITHM
Trie is an efficient information reTrieval data structure. Using Trie, search complexities can be brought to optimal limit (key length)
-use case :: Autocomplete features using Trie

13) STRING BUFFER
-use case ::  Banking transactions because it follows thread synchronisation

13) STRING BUILDER
-use case ::  BOOKMYSHOW OR IRCTC ticket booking because it NOT following thread synchronisation


collab credit - windsoon / ansh /Aman

#software #design #google #systemdesign #backend #backenddeveloper #softwareengineer #algorithms
ALGORITHM YOU SHOULD KNOW for PREPARING SYSTEM DESIGN INTERVIEW ๐Ÿ’ก

๐Ÿ”บREQUIREMENTS :-
KNOW WHEN TO USE
KNOW HOW IT WORKS

โ—พ1) BLOOM FILTER
It is a data structure designed to tell you, rapidly and memory-efficiently, whether an element is present in a set.
- use case :: Build a Web crawler

โ—พ2) FRUGAL STREAMING
It uses only one unit of memory per group to compute a quantile for each group.
-use case :: Find the nth percentile of the data stream.

โ—พ3) GEOHASH/ S2 GEOMETRY
A collection of efficient yet exact mathematical predicates for testing relationships among geometric primitives.
-use case :: Location-based search results with DynamoDb and Geohash.

โ—พ4) HYPERLOGLOG
It is an algorithm for the count-distinct problem, approximating the number of distinct elements in a multiset.
-use case :: privacy-preserving traffic heat map for the city.

โ—พ5) LEAKY BUCKET/ TOKEN BUCKET
A mechanism to control the amount and the rate of the traffic sent to the network.
-use case :: Design a scalable rate-limiting algorithm.

โ—พ6) LOSSY COUNT
It is used to identify elements in a data stream whose frequency count exceeds a user-given threshold.
-use case :: Frequency count over the data streams.

โ—พ7) OPERATIONAL TRANSFORMATION
It is used for supporting a range of collaboration functionalities in advanced collaborative software systems.
-use case :: Handling editing collision in Google docs.

โ—พ8) QUADTREE/ RTREE
It is a two-dimensional analog of octrees and is most often used to partition a two-dimensional space by recursively subdividing it into four quadrants or regions.
-use case :: Find nearby interest points

โ—พ9) RAY CASTING
It is the most basic of many computer graphics rendering algo that uses geometric algo of ray tracing.
-use case :: Using longitude and latitude, return the Country of the point.

โ—พ10) REVERSE INDEX
It is an index of keywords that stores records of documents that contain keywords in the list.
-use case: Building a complete Tweet index.

โ—พ11) RSYNC ALGORITHM
Used for reducing the cost of a file transfer by avoiding the transfer of blocks that are already at the destination.
-use case :: Streaming file Sync

โ—พ12) TRIE ALGORITHM
Trie is an efficient information reTrieval data structure. Using Trie, search complexities can be brought to optimal limit (key length)
-use case :: Autocomplete features using Trie

13) STRING BUFFER
-use case ::  Banking transactions because it follows thread synchronisation

13) STRING BUILDER
-use case ::  BOOKMYSHOW OR IRCTC ticket booking because it NOT following thread synchronisation


collab credit - windsoon / ansh /Aman

#software #design #google #systemdesign #backend #backenddeveloper #softwareengineer #algorithms
๐—–๐—ผ๐—บ๐—ฝ๐—น๐—ฒ๐˜๐—ฒ ๐—ก๐—ผ๐˜๐—ฒ๐˜€ ๐—ข๐—ป ๐—ฅ๐—˜๐—ฆ๐—ง ๐—”๐—ฃ๐—œ ๐—ณ๐—ผ๐—ฟ ๐—œ๐—ป๐˜๐—ฒ๐—ฟ๐˜ƒ๐—ถ๐—ฒ๐˜„ ๐—ฃ๐—ฟ๐—ฒ๐—ฝ๐—ฎ๐—ฟ๐—ฎ๐˜๐—ถ๐—ผ๐—ป.

๐–๐ก๐ฒ ๐‘๐„๐’๐“ ๐€๐๐ˆ ๐ข๐ฌ ๐ˆ๐ฆ๐ฉ๐จ๐ซ๐ญ๐š๐ง๐ญ ๐ญ๐จ ๐‹๐ž๐š๐ซ๐ง?

๐™…๐™Ž๐™Š๐™‰, ๐™€๐™ฃ๐™™๐™ฅ๐™ค๐™ž๐™ฃ๐™ฉ๐™จ, ๐™‹๐™ค๐™จ๐™ฉ๐™ข๐™–๐™ฃ, ๐˜พ๐™๐™๐˜ฟ, ๐˜พ๐™ช๐™ง๐™ก, ๐™ƒ๐™๐™๐™‹, ๐™Ž๐™ฉ๐™–๐™ฉ๐™ช๐™จ ๐˜พ๐™ค๐™™๐™š, ๐™๐™š๐™ฆ๐™ช๐™š๐™จ๐™ฉ, ๐™๐™š๐™จ๐™ฅ๐™ค๐™ฃ๐™จ๐™š, ๐˜ผ๐™ช๐™ฉ๐™๐™š๐™ฃ๐™ฉ๐™ž๐™˜๐™–๐™ฉ๐™ž๐™ค๐™ฃ, or something elseโ€ฆ
If youโ€™re familiar with the above word then surely you might have worked on some kinds of APIs (especially those who are experienced developers) in your backend application. Maybe a payment gateway API, Google Maps API, Sending an Email APIs, or any other kind of APIs depending on the type of application and the requirements. 

The most popular and common thing you will hear while working on API isโ€ฆ
๐—ฅ๐—˜๐—ฆ๐—ง ๐—”๐—ฃ๐—œโ€ฆ

What it is? Why is it being used? Why it is the first priority of programmers when it comes to implementing an API? Many questions will pop up in your mind when you will start working on REST API. 

So here you will get all the answers.


https://www.linkedin.com/in/aman-raj-6168b616a

#restapi #frontend #backenddeveloper #json #postman #crud #statuscode #databases #sql #nosql #dsa #interviewpreparation #interview #jobs #nodejs #reactjs #python #javascript #java #webdevelopment #developer #softwareengineer #itservices #services #fullstackdeveloper #aws #cloud #authentication #linkedin #content #google #email