Sharwari PhadnisQueue with a Twist: Understanding Circular QueuesJust when I thought I was getting good at solving queue questions, I stumbled upon a LeetCode challenge that quickly humbled me: designing…6d ago6d ago
Sharwari PhadnisSolving Linked List Problems in a Single PassWhen I first dived into LinkedList problems on LeetCode, my solutions were like a tourist on vacation: seeing everything twice or thrice…6d ago6d ago
Sharwari PhadnisReplication Magic: A Guide to Deep Copying Graphs and Binary Trees (Part 2: Binary Trees)I hope you enjoyed diving into the world of graph cloning in the previous article (here)! Now, let’s branch out and explore the art of…Jul 16Jul 16
Sharwari PhadnisReplication Magic: A Guide to Deep Copying Graphs and Binary Trees (Part 1: Graphs)I came across a couple of Leetcode challenges that involve making deep clones of graphs and binary trees — let’s dive in and unravel these…Jul 16Jul 16