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

@prakkkkhar

# Prakhar Gupta

@prakkkkhar · Mumbai, India · Joined July 2026

### [How Many Edges Does an N × M Grid Really Have?](https://prakhargupta.hashnode.dev/deriving-number-of-edges-in-n-m-grid?utm_source=hashnode&utm_medium=feed)

While studying BFS/DFS on grids, I came across a question that initially looked trivial: If every cell in an N × M grid is a vertex, and every shared boundary between two cells is an edge, how many e

5 min read · [prakhargupta.hashnode.dev](https://prakhargupta.hashnode.dev/deriving-number-of-edges-in-n-m-grid?utm_source=hashnode&utm_medium=feed)

[Aug 30](https://hashnode.com/posts/deriving-number-of-edges-in-n-m-grid/6a9452f58c4c8b6b6b2ca106)

### [DP on Strings: A Competitive Programmer's Guide](https://prakhargupta.hashnode.dev/string-dp-for-competitive-programming?utm_source=hashnode&utm_medium=feed)

Master String DP for Competitive Programming with LCS, Edit Distance, Wildcards, intuition, patterns, and practice problems.

33 min read · [prakhargupta.hashnode.dev](https://prakhargupta.hashnode.dev/string-dp-for-competitive-programming?utm_source=hashnode&utm_medium=feed)

[Jul 9](https://hashnode.com/posts/string-dp-for-competitive-programming/6a4fa791a191bf2da47c0fee)
