101. Symmetric Tree- 对称二叉树
给定一个二叉树,检查它是否是镜像对称的。 例如,二叉树 [1,2,2,3,4,4,3] 是对称的。 但是下面这... » 阅读全文
给定一个二叉树,检查它是否是镜像对称的。 例如,二叉树 [1,2,2,3,4,4,3] 是对称的。 但是下面这... » 阅读全文
给定两个二叉树,编写一个函数来检验它们是否相同。 如果两个树在结构上相同,并且节点具有相同的值,则认为它们是相... » 阅读全文
Given two sorted integer arrays nums1 and nums2, merge ... » 阅读全文
Given the head of a sorted linked list, delete all dupl... » 阅读全文
Given a non-negative integer x, compute and return the ... » 阅读全文
Given two binary strings a and b, return their sum as a... » 阅读全文
Implement strStr(). Return the index of the first occur... » 阅读全文
Given a string s consists of some words separated by sp... » 阅读全文
Given a non-empty array of decimal digits representing ... » 阅读全文