Smart Interviews Hackerrank Solutions Python