JJunghun Kim·Jan 6DFS와 BFS, 그리고 Preorder / Inorder / Postorder의 진짜 관계DFS와 BFS의 차이와 관계, 각 탐색 전략의 실무 활용 사례를 설명합니다. DFS의 순회 방식, BFS의 특징 등을 다룹니다4 min read·devnote-vienna453.hashnode.dev
AAnni Huang·Jul 11, 2025LeetCode 653 Two Sum IV - Input is a BST - In Order Traversal (Easy, Java, O(n))LeetCode 653. Two Sum IV - Input is a BST Approach The problem requires us to find if there exist any two nodes in a Binary Search Tree (BST) that sum up to a given target value k. The solution uses an inorder traversal approach combined with a has...3 min read·huanganni.hashnode.dev
AArka Infotech·Jan 11, 2025Morris Traversal: In-Order Traversal Without RecursionLearn about Morris Traversal: efficient in-order binary tree traversal without recursion or a stack, achieving O(n) time and O(1) space complexity6 min read·blogs.arkainfotech.in