A lot of times people mention how trading companies may ask questions about C++ internals and low level questions. What are some good resources to prepare for those? Anything specific about HRT?
Well, c++ for all the wrong reasons takes longer to learn and even longer takes to write code that won’t crash on the first run.
C++ is a completely different beast
You could try giving this site a read https://isocpp.org/wiki/faq. Then there's also cppcon talks that goes into specific talks, videos available on YouTube. To warm up you can use geekforgeeks. And also look at features introduced in different versions (e.g c++ 11 memory model). I'm curious to see what other references/materials people use/recommend.
I had some specific interviews in C++. There is no resource here except working on C++ preferrably at work or doing part time projects. Also if you look at linkedin most senior people at HRT or any other trading company come from other trading companies or work on infra at FB/Google or game developers.
if you want to understand c++ internals go for inside the c++ object model by lippman. also it would be good to understand computer architecture. like alignment on byte level, cpu caches etc
Design and write a smart (shared or unique) pointer class. How is RAII used for resource management? Write a thread pool given requirement A and B. How you would write a generic event scheduler?
Expecting for some "smart" software engineer to come along educating to you that programming languages are just code monkey tools that you can learn in a few weeks and don't matter as you become more experienced in systems architecture 🙄 Maybe better to post this in Finance Careers for a more serious audience where 5ms vs. 10ms actually matters