My code id working fine but still it is showing wrong ans in al test cases

Link to my code

@jatin111 Hi bro, ya code is fully correct just that the spelling of disk should be disc, so correct that typo.

Well done for the code bro!
If ya query is resolved mark it resolved and rate!
Happy coding!