Solve grid min path and sqrt by binary search | TikTok