I have written a function for which the third test case is not being approved.
@krishnamanohar199 hey krishna please save your code on the cb.lk/ide and share it here.