1197. Minimum Knight Moves
Description
**Input:** x = 2, y = 1
**Output:** 1
**Explanation:** [0, 0] → [2, 1]**Input:** x = 5, y = 5
**Output:** 4
**Explanation:** [0, 0] → [2, 1] → [4, 2] → [3, 4] → [5, 5]ac
Previous1196. How Many Apples Can You Put into the BasketNext1198. Find Smallest Common Element in All Rows
Last updated
