Lead engineer · 2025
A matching engine in 40 µs
Rewrote an order-matching core around a cache-friendly price ladder; the hot path no longer allocates.
Algorithms engineer · competitive programmer
Algorithms engineer — I find the move that makes the rest of the game easy, then write it so it runs in microseconds.
International Grandmaster on Codeforces, two-time ICPC World Finalist and nine years of search, ranking and matching systems in C++ and Rust.
about
Every hard problem is an endgame: few pieces left, and only one line that wins.
I learned chess from my grandfather in Chennai and programming from a library book, and I have never stopped looking for the forcing line. Contests taught me speed; industry taught me that the right data structure beats a clever trick.
Today I design search, ranking and matching systems where a microsecond is a product decision.
Ratings
International Grandmaster, peak rating 2,612.
World Finalist with IIT Madras, 2015 and 2016.
Red, top 300 worldwide.
Rapid. My grandfather is still better.
games
Four problems, each solved with one decisive move.
Lead engineer · 2025
Rewrote an order-matching core around a cache-friendly price ladder; the hot path no longer allocates.
Tech lead · 2023
A two-stage ranker with a learned re-ranker over an inverted index, serving India’s largest classifieds site.
Engineer · 2021
Contraction hierarchies for a delivery fleet, recomputed every five minutes with live traffic.
Creator · 2019
An open judge and problem archive used by 30,000 students preparing for regionals.
openings
My repertoire, each square as strong as I play it.
open_source
Libraries extracted from contests and production.
moves
The order-matching core and its latency budget.
Search and ranking for ninety million listings.
Route planning and dispatch for the delivery fleet.
Indexing infrastructure for city maps.
IIT Madras
annotations
How a sorted array beat every tree we tried.
Talk · Rootconf · Jun 2025What contests teach that interviews miss.
Blog · Feb 2025Ranking ninety million listings without a GPU farm.
Blog · Aug 2024The habits worth keeping, and the ones to drop.
kibitz
Karthik sees the whole board. He found the one data structure that made our matching engine boring — in the best way.
He coached our university team to the World Finals and made every one of us a better engineer.
His design reviews read like annotated games: each choice, the alternatives, and why they lose.
recognition
ICPC
Codeforces
Indian National Olympiad in Informatics
Rootconf
contact
For senior algorithms, search and low-latency roles, or a hard problem you would like a second pair of eyes on. I reply within two days.