Because if you are getting below this value u r not really enjoying the upcoming day's
Java Hyd Team
Hope you all are enjoying our efforts
If no please leave this channel π
If no please leave this channel π
If you are getting issues in voting please leave this channel we don't want sleeper cells here to be active or stay at home don't be in this channel βΊοΈ
public class IndexOutOfBoundException {
public static void main(String[] args) {
int[] arr = {1,2,3,4,5};
try {
for(int i = 0; i <= arr.length; i++) {
System.out.println(arr[i]);
}
} catch(ArrayIndexOutOfBoundsException e) {
System.out.println("Index Out Of Bound Exception");
}
}
}
public static void main(String[] args) {
int[] arr = {1,2,3,4,5};
try {
for(int i = 0; i <= arr.length; i++) {
System.out.println(arr[i]);
}
} catch(ArrayIndexOutOfBoundsException e) {
System.out.println("Index Out Of Bound Exception");
}
}
}
Java Hyd Team
React programming and MCQ tests
Tomorrow will update you with a link in the evening for java(core java, advance java, Spring and spring boot) n react-js practice test
Java Hyd Team pinned Β«On Sunday if you guys are available I will conduct one masterclass for end to end FullStack related to the concept not for programming will clear each n every concept with real-time implementation of that particular keywordΒ»
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
πΊ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