ION Group interview question

LeetCode exercises on Hackerrank and some complexity evaluations