Fingent interview question

Testing negative test cases