摘要:
You are given an m x n grid rooms initialized with these three possible values. -1 A wall or an obstacle. 0 A gate. INF Infinity means an empty room. 阅读全文
posted @ 2020-05-02 09:58
CNoodle
阅读(334)
评论(0)
推荐(0)
摘要:
You are given an m x n matrix board containing letters 'X' and 'O', capture regions that are surrounded: Connect: A cell is connected to adjacent cell 阅读全文
posted @ 2020-05-02 08:15
CNoodle
阅读(459)
评论(0)
推荐(0)
摘要:
Given an array of unique integers preorder, return true if it is the correct preorder traversal sequence of a binary search tree. Example 1: Input: pr 阅读全文
posted @ 2020-05-02 02:38
CNoodle
阅读(191)
评论(0)
推荐(0)