HRT C++ loop, made it further than I thought I would
HRT C++ loop, made it further than I thought I would
Quick context. I'm 3 YOE at a mid size fintech, mostly Java plus some C++ on a pricing service nobody else wanted to touch. A friend who used to be in trading kept bugging me to apply to HRT, so eventually I did just to make him stop.
OA was CodeSignal, 45 min, 2 problems, with camera and screen recorded the whole time, which made me weirdly self conscious. First one was a buffer parser where you read a char, int and string out of a raw buffer and advance the pointer right. Second was a small templated map class. Felt way more like a C++ exam than an algo test and my Java brain didn't love it. Passed somehow.
First phone screen was the watcher problem. Players on a line moving right, a watcher who flips direction at given timestamps, count who reaches the end by time T. I simulated it tick by tick and he was fine with that. Then he asked about continuous time and I kind of rambled my way to splitting time at the flip points. He nodded so I think that's what he wanted.
Second phone screen was dots and sticks on a 9x9 grid, read moves from stdin, print the board every turn, game ends when the first square closes. Super open ended. I burned too long on printing and barely got to duplicate sticks or out of bounds checks, which I'm pretty sure he noticed.
Still got moved to onsite, 4 rounds, about an hour each. One was reading their trading client/server code and adding a modify operation next to add and cancel. Actually enjoyed that one, felt like real work. The rest was more coding plus a bunch of C++ questions I only half knew.
Recruiter said about a week. Not expecting much but I learned more here than in my last year at work tbh. Anyone else get through from a non C++ background?