ION Group interview question

logical apti and dsa basic