Skip to main content

#LeetCode

Browse articles tagged with #LeetCode

  • DSA Problems

    Basic Calculator Implementation and Evaluation

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

  • DSA Problems

    Largest Rectangle in Histogram Algorithm Solution

    Complete Java implementation for finding the largest rectangular area in a histogram with optimal time and space complexity analysis.

  • DSA Patterns

    Subtree of Another Tree Algorithm Solution

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

  • DSA Patterns

    Tree Path Sum Problems in Java: DFS and BFS Solutions

    Comprehensive guide to solving tree path sum problems using DFS and BFS traversal techniques with optimal time and space complexity analysis.

  • DSA Patterns

    Binary Tree Diameter and Height Analysis

    Complete Java solution for calculating binary tree diameter, height, and balance with optimal time complexity and practical implementation considerations.

  • DSA Patterns

    Expression Evaluation Algorithms and Techniques

    Comprehensive guide to evaluating mathematical expressions using stack-based approaches, infix to postfix conversion, and operator precedence handling.

  • DSA Problems

    Corporate Flight Bookings Range Updates Problem

    Solution to the corporate flight bookings problem using range update techniques and difference arrays for efficient batch updates.

  • DSA Patterns

    Valid Parentheses Problem Solution

    Complete Java implementation for validating balanced parentheses using stack data structure with time and space complexity analysis.

  • DSA Problems

    Continuous Subarray Sum Problem Solution

    Complete Java implementation for finding continuous subarrays with sum divisible by k, covering optimal approaches and edge cases.

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.