xinyu04

导航

2022年8月4日 #

LeetCode 1091 Shortest Path in Binary Matrix

摘要: Given an n x n binary matrix grid, return the length of the shortest clear path in the matrix. If there is no clear path, return -1. A clear path in a 阅读全文

posted @ 2022-08-04 16:37 Blackzxy 阅读(16) 评论(0) 推荐(0) 编辑

MathProblem 23 Fork in the road problem

摘要: You are traveling down a path and come to a fork in the road. A sign lays fallen at the path indicating that one path leads to a village where everyon 阅读全文

posted @ 2022-08-04 06:33 Blackzxy 阅读(18) 评论(0) 推荐(0) 编辑

LeetCode 572 Subtree of Another Tree

摘要: Given the roots of two binary trees root and subRoot, return true if there is a subtree of root with the same structure and node values of subRoot and 阅读全文

posted @ 2022-08-04 04:27 Blackzxy 阅读(13) 评论(0) 推荐(0) 编辑