Nokia interview question

Leetcode easy sorting + two pointer based question. +how can i boost morale