On technical interviews I was asked for solving technical challenges like hacker rank problems. I feel the idea was to explore the problem, getting into a solution even if it was not optimal. It counts so much how you work and pair with the interviewer.