ASAmit singhinyesamitsingh.hashnode.dev00The Most Common Doubt in DSU: Path Compression + Union by RankMay 25 · 4 min read · When learning DSU (Disjoint Set Union / Union Find), almost every student eventually gets this doubt: “Path Compression reduces the height of the tree. Then why don’t we update the rank?” And then cJoin discussion
ASAmit singhinyesamitsingh.hashnode.dev00Blog: HashSet in Java (Easy Explanation)Apr 2 · 3 min read · 1. What is HashSet? HashSet is a class in Java that stores unique values only (no duplicates allowed). It is part of Java Collection Framework. Simple meaning: HashSet is used when we want to store eJoin discussion
ASAmit singhinyesamitsingh.hashnode.dev00HashMap in Java – Easy Blog for BeginnersApr 1 · 4 min read · Introduction If you are learning DSA or Java, HashMap is one of the most important topics. Many problems like Sliding Window, Prefix Sum, Two Sum, Anagrams, etc. use HashMap. In simple words: HashMapJoin discussion
ASAmit singhinyesamitsingh.hashnode.dev00Arrays in java newMar 27 · 2 min read · Introduction When we start learning Java, one of the most important topics is Arrays. Arrays are used in almost every program, whether you are building simple applications, solving coding problems, orJoin discussion
ASAmit singhinyesamitsingh.hashnode.dev00Java Syntax – Complete Beginner Blog (From Scratch)Mar 26 · 5 min read · Introduction If you are learning programming for the first time, Java syntax is the first thing you need to understand. Java syntax means the rules and structure used to write Java programs. Just likeJoin discussion