For testing the program replace the given function in the HackerRank with the function in the desired program Note: Ignore the test cases which are included, they were added for the purpose of verification of the program PS: The programs are for reference only. Plagiarism is not entertained.