#数组和字符串
该标签下的全部文章。
Peaks and Valleys
In an array of integers, a peak is an element which is greater than or equal or equal to the adjacent integers
Remove Duplicates from Sorted Array
Given a sorted array, remove the duplicates in place such that each element appear only once and return the ne
Remove Element
Given an array and a value, remove all instances of that value in place and return the new length.
Repeated DNA Sequences
All DNA is composed of a series of nucleotides abbreviated as A, C, G, and T, for example: ACGAATTCCG.