Jul 23, 2025 · 3 min read · Series: Java Collections Framework | Part 1 – Set Hello Devs! 👋Welcome to the first blog of my Java Collections Framework series. In this post, we’ll deep-dive into the Set interface—its purpose, types, when to use which type, and solve a real-world...
Join discussion
Jun 25, 2025 · 4 min read · As a software developer, throughout my journey of building projects, fixing bugs, and preparing for placements, I learned something simple yet powerful: choosing the right Java Collection makes your code cleaner, faster, and easier to scale. Most of ...
Join discussion
Jun 3, 2025 · 11 min read · The Story It started as a simple request from our Product team: "Can we automatically track what customers are saying about our products online?" We built an API that would: Scan customer blog posts and forum discussions Identify product issues and...
Join discussionMay 17, 2025 · 5 min read · If there’s one pattern that’s pure gold in interviews, it’s Hashing. Actually, it is more of a utility approach that helps build the foundations of a lot of optimized solutions. Hashing, from a Java perspective, means the use of HashMap and HashSet. ...
Join discussionMay 1, 2025 · 6 min read · Generic definition HashSet is a data structure used to store a collection of unique elements. Unlike arrays or lists, the elements in a HashSet are not stored in a continuous order. When a value is added to a HashSet, it is first passed through a has...
Join discussionApr 16, 2025 · 5 min read · What is the Java Collections Framework? The Java Collections Framework is a unified architecture for representing and manipulating collections, such as lists, sets, and maps. It provides: Interfaces: Abstract data types like List, Set, Map, and Queu...
Join discussion
Mar 17, 2025 · 4 min read · W dzisiejszym świecie rozproszonych systemów, mikro serwisów i różnych sposobów przechowywania danych coraz częściej musimy łączyć dane w warstwie obliczeniowej aplikacji. Do poszukiwania relacji między nimi często korzystamy z właściwości takich jak...
Join discussion
Feb 8, 2025 · 2 min read · 목표 : HashSet의 내부 동작 방식과 중복 제거 메커니즘, HashSet이 효율적인 중복 체크를 할 수 있는 이유 확인하기. 사진 출처 : 김영한의 JAVA 중급 과정 1️⃣HashSet ? Set은 중복을 허용하지 않는다. Hash는 (인덱스값=값) 인덱스만 찾으면 값을 찾을 수 있기 때문에 O(1)성능을 가진다. 하지만 9999숫자 데이터가 들어오면 9999개의 인덱스가 필요하다.메모리 낭비가 심하게 발생한다. 이를 해결하기 위해 H...
Join discussion
Feb 3, 2025 · 8 min read · Many coding problems in interviews are variations of common problem patterns. Recognizing these patterns and their solutions can help you solve many problems efficiently. Below is a breakdown of common problem categories similar to Two Sum and their ...
Join discussion