摘要:
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For example, this binary tree is symmetric: But the fol 阅读全文
posted @ 2016-04-12 21:06 cKK 阅读(136) 评论(0) 推荐(0) 编辑
|
||
摘要:
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For example, this binary tree is symmetric: But the fol 阅读全文
posted @ 2016-04-12 21:06 cKK 阅读(136) 评论(0) 推荐(0) 编辑
摘要:
Given a pattern and a string str, find if str follows the same pattern. Here follow means a full match, such that there is a bijection between a lette 阅读全文
posted @ 2016-04-12 15:26 cKK 阅读(195) 评论(0) 推荐(0) 编辑 |
||