Research.

Algorithms, graph theory, and the pleasure of finding a simpler way to think about something difficult.

Space-Efficient Hierholzer for Undirected Graphs

How little memory do you need to walk every edge of a graph exactly once? Our work extends a space-efficient Euler-tour algorithm to undirected multigraphs.

Shayan giving his combinatorial games talk at CUMC
Canadian Undergraduate Mathematics Conference · 2026
CUMC

Taking games seriously

I spoke about combinatorial games and Grundy theory: how a complicated game can sometimes be understood through one small mathematical object.

A chance to take an idea out of the notebook and work through it with a room full of curious people.

Canadian Computing Olympiad · 2024

A week at Waterloo

Eighth place in Canada, a CCO silver medal, and an invitation to Canada’s IOI selection camp. More than the results, I remember the people who enjoyed getting stuck on the same problems.

Canadian Computing Olympiad competitors with their awards
CCO, Waterloo
A campus selfie during CCO
Between the problems
Shayan’s Iranian informatics olympiad cohort
Iranian Olympiad in Informatics
Iranian Combinatorics Olympiad ceremony
Iranian Combinatorics Olympiad
INOI & ICO

Where it started

Before research, there were olympiads: a bronze medal in the 2023 Iranian Olympiad in Informatics and silver in the Iranian Combinatorics Olympiad.

Long afternoons with a problem, a blank page, and friends who kept asking one more question.

The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge.Stephen Hawking