Priyanshu Debnath

Priyanshu Debnath

Hi, I’m Priyanshu :D I’m a second-year EEE student at IIT Guwahati. I love cp and most of the time that’s what I do. I’m also learning C++ internals and low-level systems programming. On some days I like doing absolutely nothing :p. I’m open to internships for winter 2026 and summer 2027, so say hi if you’ve got something in mind. I write about what I learn here.

Download my resume here.

Calm-Trend Regime: Trading Strategies for Bitcoin and Ether

Two daily trading strategies for BTC and ETH. The strategies do not predict direction. They change the position size to fit the market.

October 26, 2026 · 6 min · Priyanshu Debnath

Scan From Both Ends: How One Line Took My Divide and Conquer From TLE to AC

My solution to Vlad, Misha and Two Arrays was correct and still got TLE on test 14. The fix was to check the split candidates in the order l, r, l+1, r-1, … instead of left to right. Here is why that one change turns O(n²) into O(n log n).

September 26, 2026 · 8 min · Priyanshu Debnath