SBShubham Barveinshubhambarve.hashnode.dev路Sep 30, 2024 路 2 min read馃殌 Understanding Time Complexity in Java Collections and Arrays 馃殌As developers, it's crucial to understand the performance implications of the data structures we choose. Here鈥檚 a quick guide to the time complexity of common methods in Java Collections and Arrays. Knowing this can help write more efficient code! 馃挕...00
SBShubham Barveinshubhambarve.hashnode.dev路Sep 16, 2024 路 2 min readTime ComplexityHow to describe runtime of an algorithm? There are 3 notations used to describe time complexity. Big O time is an asymptotic notation used to describe the efficiency of algorithms. It describes an upper bound on time. Big omega It is asymptotic lo...00
SBShubham Barveinshubhambarve.hashnode.dev路Jul 7, 2024 路 4 min readCAP TheoremCAP theorem in System Design CAP Consistency Availability Partition tolerance ConsistencyC -> Consistency Consistency means the data should be consistent to all users for any application Lets say A and B are the person who are experiencing a a...00