摘要:
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For example, this binary tree [1,2,2,3,4,4,3] is symmet 阅读全文
posted @ 2019-03-07 14:36
Schwifty
阅读(116)
评论(0)
推荐(0)
摘要:
Given a binary tree, return the inorder traversal of its nodes' values. Example: 阅读全文
posted @ 2019-03-07 06:20
Schwifty
阅读(95)
评论(0)
推荐(0)
摘要:
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path. 阅读全文
posted @ 2019-03-07 05:20
Schwifty
阅读(106)
评论(0)
推荐(0)
摘要:
The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other. Given an integer n, return all 阅读全文
posted @ 2019-03-07 04:36
Schwifty
阅读(150)
评论(0)
推荐(0)

浙公网安备 33010602011771号