How HashMap Works THumbnail

The Magic Behind HashMap and How it works in Java

Hey! tea lovers! In this post, we will be discussing how HashMap, the key-value-based data structure, works in Java. And it is one of the most asked interview questions as well. It is the core feature we as a developer use daily. Primarily used for easy and faster access to data based on the key. So let us see how it stores, retrieves and updates the data. I will put more articles under the Simply Explained tag. For now, let us get started with HashMap. So make your cup of tea to sip and code. ...

March 20, 2022 路 6 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
Call By Value & Call By Reference in Java

Call By Value & Call By Reference in Java

Hey, Tea Lovers! Today we will take a look at the basic but tricky interview question, Call By Value & Call By Reference in Java. Both beginners and experienced developers get this question in interviews. It鈥檚 a technical interviewer鈥檚 favorite question. This post is one of the many in the series of Interview Questions, where we don鈥檛 just hang you with one line answer, but rather try to explain it so that it gets fits into your head. ...

February 18, 2022 路 6 min 路 Mahesh More
Interview Question- IS-A & HAS-A Relationship

Interview Question: IS-A & HAS-A Relationship

Hey, Tea Lovers! Today let鈥檚 look at the most asked interview question,聽IS-A.)& HAS-A relationship. Both beginners and experienced people get this question in their interviews. This post is one of the many in the series of聽Interview Questions, where we don鈥檛 just hang you with one line answer, but rather try to explain it so that it gets fits into your head. I know you are in a hurry to prepare for the interview, so I will make this post as short as possible, So prepare your cup of tea to sip and code. ...

November 29, 2020 路 5 min 路 Mahesh More
Most Loved Interview Question _ Comparator vs Comparable

Interview Question: Comparable vs Comparator

Hey, Tea Lovers! Today let鈥檚 look at the most asked interview question, Comparable vs Comparator. Both beginners and experienced people get this question in their interviews. This post is one of the many in the series of Interview Questions, where we don鈥檛 just hang you with one line answer, but rather try to explain it so that it gets fits into your head. I know you are in a hurry to prepare for the interview, so I will make this post as short as possible, So prepare your cup of tea to sip and code. ...

November 14, 2020 路 11 min 路 Mahesh More
Interview Question: Final vs Finally vs Finalize

Interview Question: Final vs Finally vs Finalize

Hey, Tea Lovers! Today let鈥檚 look at the most asked, tricky, and fumbled interview question i.e. What is the difference between final, finally, and finalize in Java? Most beginners face this question. The thing is, only their names are the same the work is completely unrelated. I know you are in a hurry to prepare for the interview, so I will make this post as short as possible. But before reading, prepare your cup of tea to sip and code. ...

October 14, 2020 路 6 min 路 Imran Shaikh
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