---
title: "Yashraj (@viewport) | Hashnode"
description: "Frontend Engineer. Read the latest articles by Yashraj on Hashnode."
url: "https://hashnode.com/@viewport"
---

@viewport

# Yashraj

@viewport · Joined December 2025

Frontend Engineer

### [Mastering Heaps & Priority Queues](https://yashrajxdev.blog/mastering-heaps-priority-queues?utm_source=hashnode&utm_medium=feed)

Welcome back to our algorithm deep‑dive. By now you’ve probably noticed that certain problems keep appearing in coding interviews – and many of them have a secret weapon: heaps (also known as priority

8 min read · [yashrajxdev.blog](https://yashrajxdev.blog/mastering-heaps-priority-queues?utm_source=hashnode&utm_medium=feed)

[Jun 6](https://hashnode.com/posts/mastering-heaps-priority-queues/6a23c1d38579a04d4faf8286)

### [Master Binary Search: Templates, Rotated Arrays, Median of Two Sorted Arrays, and Binary Search on Answer](https://yashrajxdev.blog/master-binary-search-templates-rotated-arrays-median-of-two-sorted-arrays-and-binary-search-on-answer?utm_source=hashnode&utm_medium=feed)

Binary search for interview preparation with leetcode problems

13 min read · [yashrajxdev.blog](https://yashrajxdev.blog/master-binary-search-templates-rotated-arrays-median-of-two-sorted-arrays-and-binary-search-on-answer?utm_source=hashnode&utm_medium=feed)

[Jun 2](https://hashnode.com/posts/master-binary-search-templates-rotated-arrays-median-of-two-sorted-arrays-and-binary-search-on-answer/6a1e72d7af54fe6108550243)

### [Binary Search Trees: Complete Interview Playbook](https://yashrajxdev.blog/binary-search-trees-complete-interview-playbook?utm_source=hashnode&utm_medium=feed)

Master BST fundamentals, insertion, traversal, and interview-ready code (recursive & iterative).

17 min read · [yashrajxdev.blog](https://yashrajxdev.blog/binary-search-trees-complete-interview-playbook?utm_source=hashnode&utm_medium=feed)

[May 24](https://hashnode.com/posts/binary-search-trees-complete-interview-playbook/6a133aa2551486ce6c20c19a)

### [Mastering Binary Tree Algorithms: Traversals, LCA, and Serialization](https://yashrajxdev.blog/mastering-binary-tree-algorithms-traversals-lca-and-serialization?utm_source=hashnode&utm_medium=feed)

Learn binary tree algorithms with clear, interview-ready explanations: DFS traversals, Lowest Common Ancestor, and serialization/deserialization with code examples.

9 min read · [yashrajxdev.blog](https://yashrajxdev.blog/mastering-binary-tree-algorithms-traversals-lca-and-serialization?utm_source=hashnode&utm_medium=feed)

[May 17](https://hashnode.com/posts/mastering-binary-tree-algorithms-traversals-lca-and-serialization/6a0a12313104e2aff0ccaa09)

### [Monotonic Stack: The Complete Pattern Guide](https://yashrajxdev.blog/monotonic-stack-the-complete-pattern-guide?utm_source=hashnode&utm_medium=feed)

What is a Monotonic Stack? A monotonic stack is a regular stack with one rule: elements inside it are always in a consistent order — either strictly increasing or strictly decreasing from bottom to to

17 min read · [yashrajxdev.blog](https://yashrajxdev.blog/monotonic-stack-the-complete-pattern-guide?utm_source=hashnode&utm_medium=feed)

[May 16](https://hashnode.com/posts/monotonic-stack-the-complete-pattern-guide/6a081f9b5adec4606344e38e)
