EJEJ Junginejjung.hashnode.dev路Aug 22, 2025 路 3 min readA Beginner's Guide to Trees1. Introduction to Trees A Tree is a widely used data structure in computer science that simulates a hierarchical tree structure with a set of connected nodes. Unlike linear data structures such as arrays or linked lists, trees allow efficient repres...00
EJEJ Junginejjung.hashnode.dev路Aug 21, 2025 路 7 min readA Beginner's Guide to Linked List1. Introduction to Linked Lists A Linked List is a linear data structure where elements, called nodes, are connected using pointers. Unlike arrays, linked lists do not require contiguous memory, making insertion and deletion operations efficient. Eac...00
EJEJ Junginejjung.hashnode.dev路Aug 21, 2025 路 4 min readA Beginner's Guide to Binary Search Algorithm1. Introduction to Binary Search Binary Search is one of the most fundamental algorithms in computer science. It is a highly efficient method to find the position of a target value within a sorted array. Instead of scanning the entire array linearly,...00
EJEJ Junginejjung.hashnode.dev路Aug 12, 2025 路 2 min readA Guide to Minimum Spanning Trees: Kruskal's vs. Prim's AlgorithmMinimum Spanning Tree (MST) A Minimum Spanning Tree of a connected, undirected, weighted graph is a subset of edges that: Connects all vertices without cycles. Has the minimum possible total edge weight. 1. Kruskal鈥檚 Algorithm Idea: Kruskal鈥檚 al...00
EJEJ Junginejjung.hashnode.dev路Aug 8, 2025 路 2 min readUnderstanding DFS and BFS TechniquesThis note summarizes essential techniques and patterns when solving BFS/DFS problems, especially in grid-based problems and graph traversal. Many of these ideas come up repeatedly in coding interviews or contest problems. 馃毄 General DFS Rules Alway...00
EJEJ Junginejjung.hashnode.dev路Jul 15, 2025 路 3 min readA Beginner's Guide to the Union-FindUnion-Find, also known as Disjoint Set Union (DSU), is a data structure that efficiently keeps track of a set of elements partitioned into disjoint (non-overlapping) subsets. It's particularly useful in problems involving connectivity, such as determ...00
EJEJ Junginejjung.hashnode.dev路Jul 7, 2025 路 3 min readA Beginner's Guide to the Sliding WindowSliding Window is one of the most efficient and elegant techniques used in solving problems involving arrays or strings. Especially useful when you're dealing with subarrays or substrings, it allows y00
EJEJ Junginejjung.hashnode.dev路Jul 3, 2025 路 2 min readA Beginner's Guide to the Two Pointers馃搶 1. What is Two Pointers? The Two Pointers technique uses two variables (usually indices) to traverse a list or string from different directions (e.g., start and end).By controlling the movement of these pointers, you can solve problems more effici...00
EJEJ Junginejjung.hashnode.dev路Jun 18, 2025 路 2 min readKey Sorting Algorithms Every Coder Should Know - 1馃 1. Bubble Sort Compare adjacent pairs of elements in an array and swap them if they are in the wrong order, gradually moving larger elements to the end of the array. 1.1. Time Complexity Average / Worst case: O(n^2) Best case: O(n) (already so...00
EJEJ Junginejjung.hashnode.dev路Jun 16, 2025 路 3 min readBig-O You Actually Need to Know (Nothing More)If you鈥檙e preparing for coding interviews, you鈥檝e probably heard about Big-O notation more times than you can count. But let鈥檚 be honest鈥攎ost of us don鈥檛 need to memorize every complexity out there. What you do need is a solid grasp of the core conce...00