题目描述 Given two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if…
标签:leetcode
[leetcode]populating next right pointers in each node
题目描述 题目描述 Given a binary tree struct TreeLinkNode { TreeLinkNode *left; TreeLinkNode *right; TreeLinkNode *next; } Popul…
[Leetcode]copy list with random pointer
题目描述 A linked list is given such that each node contains an additional random pointer which could point to any node in t…
leetcode之single-number-ii、Gas station、word break
single-number-ii Given an array of integers, every element appears three times except for one. Find that single one. Not…