even though knowing that i was from Electrical Engineering background they kept asking me core computer science algorithms which i didn't had much answer to. I don't remember exactly the questions but it was some hardcore algorithm they wanted me to come up with.
Sigiloso
One of the question was about sorting the variables, it wasn't just sorting in ascending or descending order but something needed to be done which i don't exactly remember. But you will get the idea from it. Read as many sorting examples as you can.