(Sudoku Checker)Solution Accepted on CB and Failed on Leetcode

Can anyone Tell me whats wrong in this approach