Persistent Systems Interview Question

I was asked about cloud, dsa, sql and linux. In dsa, they asked me to print a pattern and reverse a linked list. In sql, they asked me to update a record.