Kantar interview question

Coding:-prime numbers,swap,reverse,sort Difference between the architectures,Linq,sql server