归档 2016

[LeetCode]Same Tree

题目描述:

LeetCode 100. Same Tree

Given two binary trees, write a function to check if they are equal or not.

Two binary trees are considered equal if they are structurally identical and the nodes have the same value.

题目大意:

给定两棵二叉树 ...

继续阅读

[LeetCode]Ransom Note

题目描述:

LeetCode 383. Ransom Note

Given an arbitrary ransom note string and another string containing letters from all the magazines, write a function that will return true if the ransom note can be constructed from the magazines; otherwise, it will ...

继续阅读

每月存档

去年

明年