Java Data Type Conversion Problem For Leetcode Pratice Moving

Java Data Type Conversion Problem For Leetcode Pratice Moving