
NIHAL MOHAMMAD
learning GoSangareddy, Telangana, India
SWE @ Way2News. Competitive programmer — Specialist on Codeforces, Guardian on LeetCode. Mostly interested in what’s underneath — databases, distributed systems, and how the abstractions we lean on every day are actually built.
Open to software development roles.
“No one knows what the outcome will be. So, trust yourself, or trust the people willing to put their lives on the line for you. Either way, there is no guarantee. I do not know which way is better. I never have. Choose whatever you will regret the least”
skills
- React
- Next.js
- TypeScript
- Node.js
- Tailwind
- Bun
- MongoDB
- Redis
- PostgreSQL
- Docker
- Go
- Distributed Systems
- Databases
- Backend Internals
experience
jun 2025 — present
Way2Newscurrent
Junior Software Engineer
Backend on a production ad-operations platform — API migration and workflow automation.
feb — may 2025
Way2News
Trainee Software Developer
Ramped into the engineering team, moving into backend work.
projects
view moreblogs
view moreGCDARR2. GCD Arrays (Hard)
fix g as the interior GCD, count interior sequences with Möbius inversion, count valid endpoint pairs with inclusion-exclusion — O(M log M + M log N) per test case
Jun 19, 2026
Euler Tour on Trees
Flatten a tree into an array using DFS timestamps — subtree queries become range queries, and you can throw a segment tree at them.
Jun 18, 2026
LCA and Binary Lifting
How to jump up a tree in powers of two — kth ancestors, lowest common ancestors, and path distances, all in O(log n) per query.
Jun 12, 2026