Xoriant interview question

In technical round 1 they asked all about basic data structures and algorithms. No tricky but straight forward questions were asked. The person also asked to write the pseudo code or complete code for any given problem. They also asked about database and some database querry