Given a 2D array A, each cell is 0 (representing sea) or ...[作者空间]
There are N students in a class. Some of them are friends...[作者空间]
Let's play the minesweeper game (Wikipedia, online game)!...[作者空间]
An image is represented by a 2-D array of integers, each ...[作者空间]
International Morse Code defines a standard encoding wher...[作者空间]
Given a 2d grid map of '1's (land) and '0's (water), coun...[作者空间]
Given a non-empty 2D array grid of 0's and 1's, an island...[作者空间]
There are N rooms and you start in room 0. Each room has...[作者空间]
Given a binary tree, imagine yourself standing on the rig...[作者空间]
Given a binary tree, find its minimum depth.The minimum d...[作者空间]
Given a binary tree, return the bottom-up level order tra...[作者空间]
Given a binary tree, return the level order traversal of ...[作者空间]
Given a binary tree, return the postorder traversal of it...[作者空间]
Given a binary tree, return the inorder traversal of its ...[作者空间]
Given a binary tree, return the preorder traversal of its...[作者空间]
Given an array of integers, return indices of the two num...[作者空间]