If you read an algorithms book, like Sedgwick&#x27;s, you should be mostly set. Usually they&#x27;re trying to figure out who actually understands how pointers, memory, and complexity work. (A <i>lot</i> of devs don&#x27;t know basics at all, like binary search or even how to do am in place reversal of an array or something).<p>I wouldn&#x27;t expect a very genre specific question (like graphics) unless they provided enough info that you could figure it out from first principles.<p>And sometimes they just wanna make sure you can think it through, even if you don&#x27;t find the most optimal solution. A lot of devs simply give up with an &quot;I don&#x27;t know&quot;, without indicating that they have any ideas on how they&#x27;d figure it out.