NiCE interview question

some geomatry question and some dsa based question.