In a System Design Interview?

Easily Calculate Memory From Bytes to KB, MB, GB, TB

Here is the list with numbers of bytes for each size. With this, you can quickly identify which size metric to show instead of saying a number of bytes. Very helpful for your next System Design Interview. 1 Byte = 8 bit. For simplicity, I am using 1000 as the base instead of 1024 for KB and further calculations. You can mention this to the interviewer to make them aware. ...

October 17, 2023 路 3 min 路 Imran Shaikh
How to Analyze Time And Space Complexity of Algorithms

How to Analyze Time And Space Complexity of Algorithms

Hey, Tea Lovers! Starting your data structures and algorithm journey? Trying to solve more LeetCode or HackerRank or want to win Google CodeJam? Then this is the first thing you should know about, Time and Space Complexity of an Algorithm. We will see various ways we figure out the complexity, and how it is useful to determine the efficiency of an algorithm. With this, we can easily find out the Optimal Solution or algorithm among multiple. ...

March 19, 2022 路 15 min 路 Mahesh More
A Quick Glance at Sorting Algorithms Code in Java

A Quick Glance at Sorting Algorithms Code in Java

Hey! tea lover! This post is not a tutorial, just code samples of different sorting algorithms you can see before going to the interview. I have written the algorithms in Java. There is little to no explanation, just pure simple code for you to quickly glance through it. The purpose of making this is to put all the sorting algorithms Java code in one place only. You can see the whole Data Structure and Algorithms project on GitHub. ...

June 7, 2020 路 6 min 路 Imran Shaikh