🤔 Solved a HackerRank problem with two different solution for preparing job interviews🐍