Remove Duplicates from sorted Array II 题目描述 Follow up for “Remove Duplicates”: What if duplicates are allowe…
标签:leetcode
[leetcode]题目解析(190423)
Remove duplicates from sorted list 题目描述 Given a sorted linked list, delete all duplicates such that each element appear …
[leetcode]题目解析(190422)
unique path 题目描述 A robot is located at the top-left corner of a m x n grid (marked ‘Start’ in the diagram be…
[Leetcode]merge sorted array
merge sorted array 题目描述 Given two sorted integer arrays A and B, merge B into A as one sorted array.Note: You may assum…
[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. 题目解析 罗马数…