摘要:
【Description】 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, 阅读全文
摘要:
【Description】 Given two binary trees, write a function to check if they are the same or not. Two binary trees are considered the same if they are stru 阅读全文
摘要:
【Description】 Given an array of integers that is already sorted in ascending order, find two numbers such that they add up to a specific target number 阅读全文
摘要:
【Description】 Implement int sqrt(int x). Compute and return the square root of x, where x is guaranteed to be a non-negative integer. Since the return 阅读全文
摘要:
【Description】 Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were 阅读全文