XenonStack interview question

Easy and medium level questions