---
title: "Prakhar Srivastava (@prakhar-srv) | Hashnode"
description: "Prakhar Srivastava (@prakhar-srv) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@prakhar-srv"
---

@prakhar-srv

# Prakhar Srivastava

@prakhar-srv · London, UK · Joined May 2026

[Website](http://codeintuition.io/)

### [Iterative Tree Traversal: Turning Recursion Into an Explicit Stack](https://codeintuition.hashnode.dev/iterative-tree-traversal-turning-recursion-into-an-explicit-stack?utm_source=hashnode&utm_medium=feed)

One recursive skeleton, three orders, and the explicit stack that powers the iterative versions.

5 min read · [codeintuition.hashnode.dev](https://codeintuition.hashnode.dev/iterative-tree-traversal-turning-recursion-into-an-explicit-stack?utm_source=hashnode&utm_medium=feed)

[May 28](https://hashnode.com/posts/iterative-tree-traversal-turning-recursion-into-an-explicit-stack/6a18244bbadcd8afcb906b31)

### [Binary Tree Recursion Patterns Mapped to Information Flow](https://codeintuition.hashnode.dev/binary-tree-recursion-patterns-mapped-to-information-flow?utm_source=hashnode&utm_medium=feed)

Six binary tree recursion patterns reduce to one diagnostic: which direction does information flow? Down, up, or sideways. Map any problem in 60 seconds.

11 min read · [codeintuition.hashnode.dev](https://codeintuition.hashnode.dev/binary-tree-recursion-patterns-mapped-to-information-flow?utm_source=hashnode&utm_medium=feed)

[May 26](https://hashnode.com/posts/binary-tree-recursion-patterns-mapped-to-information-flow/6a15c63eda253d50d4c9ab8d)

### [Binary tree Interview Questions: 6 Patterns Behind Every FAANG Problem](https://codeintuition.hashnode.dev/binary-tree-interview-questions-6-patterns-behind-every-faang-problem?utm_source=hashnode&utm_medium=feed)

Binary tree interview questions feel random because grinding 40 problems gives no transfer. Six traversal patterns make FAANG tree rounds predictable.

10 min read · [codeintuition.hashnode.dev](https://codeintuition.hashnode.dev/binary-tree-interview-questions-6-patterns-behind-every-faang-problem?utm_source=hashnode&utm_medium=feed)

[May 25](https://hashnode.com/posts/binary-tree-interview-questions-6-patterns-behind-every-faang-problem/6a143b727d85e6a1afcfcf0d)

### [Binary Search Tree Time Complexity: Why O(log n) Isn't Guaranteed](https://codeintuition.hashnode.dev/binary-search-tree-time-complexity-why-o-log-n-isn-t-guaranteed?utm_source=hashnode&utm_medium=feed)

Binary search tree operations promise O(log n) but only when balance holds. Here is why sorted input breaks a BST and how to fix it.

10 min read · [codeintuition.hashnode.dev](https://codeintuition.hashnode.dev/binary-search-tree-time-complexity-why-o-log-n-isn-t-guaranteed?utm_source=hashnode&utm_medium=feed)

[May 25](https://hashnode.com/posts/binary-search-tree-time-complexity-why-o-log-n-isn-t-guaranteed/6a14130c7d85e6a1afb50aa7)

### [Big O Notation Explained: Growth Rate, Not Operation Count](https://codeintuition.hashnode.dev/big-o-notation-explained-growth-rate-not-operation-count?utm_source=hashnode&utm_medium=feed)

Derive time and space complexity from unfamiliar code, including the amortized analysis that explains hash map O(1) lookups.

9 min read · [codeintuition.hashnode.dev](https://codeintuition.hashnode.dev/big-o-notation-explained-growth-rate-not-operation-count?utm_source=hashnode&utm_medium=feed)

[May 23](https://hashnode.com/posts/big-o-notation-explained-growth-rate-not-operation-count/6a1190ce1a3cf7bffc133c12)
