Skip to main content

#Data Structures

Browse articles tagged with #Data Structures

  • DSA Patterns

    Cycle Detection in Undirected Graphs Using Union-Find

    Complete Java solution for detecting cycles in undirected graphs using Union-Find disjoint set data structure with O(E α(V)) time complexity.

  • DSA Problems

    Delete Node in a BST

    Learn how to delete a node from a Binary Search Tree while maintaining BST properties and optimal time complexity.

  • DSA Patterns

    Dynamic Connectivity Algorithms and Applications

    Comprehensive guide to dynamic connectivity problems including Union-Find, connectivity queries, and network reliability algorithms with Java implementations.

  • DSA Problems

    Validate Binary Search Tree Algorithm Solution

    Complete Java implementation to validate if a binary tree is a valid BST with optimal time and space complexity considerations.

  • DSA Problems

    Subtree of Another Tree Java Solution

    Complete Java implementation for checking if one binary tree is a subtree of another, including multiple approaches and time complexity analysis.

  • DSA Patterns

    Find Kth Smallest Element in BST

    Learn to efficiently find the kth smallest element in a binary search tree using inorder traversal and iterative approaches.

  • DSA Problems

    Implement Stack using Queues

    Learn to implement a LIFO stack data structure using two queues with efficient push and pop operations.

  • DSA Patterns

    Prefix Search Algorithms and Implementation Strategies

    Comprehensive guide to prefix search techniques including Trie data structures, binary search approaches, and practical implementation patterns for efficient string matching.

  • DSA Problems

    Valid Parentheses Algorithm Solution

    Complete Java implementation for validating balanced parentheses using stack data structure with O(n) time and space complexity.

  • DSA Problems

    Basic Calculator Implementation and Evaluation

    Complete Java solution for basic calculator with stack-based evaluation, handling parentheses and operator precedence.

Stay in the Loop

Get curated DSA patterns, coding problems, frontend and backend LLD/HLD, and AI/ML System Design insights delivered straight to your inbox. No spam, just focused interview and engineering content.