merge sorted array 题目描述 Given two sorted integer arrays A and B, merge B into A as one sorted array.Note: You may assum…
标签:leetcode
[leetcode]n queens ii
n queens ii 题目描述 Follow up for N-Queens problem.Now, instead outputting board configurations, return the total number of…
[leetcode]unique binary search trees
题目描述 Given n, how many structurally unique BST’s (binary search trees) that store values 1…n?For example, Gi…
[leetcode]roman to integer(罗马数字转整数)
题目描述 Given a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1 to 3999. 题目解析 罗马数…
[leetcode]Same Tree
题目描述 Given two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if…