Block Interview Question

Technical coding problem on HackerRank with language of your choice