c
-
Reverse Words in a String详解编程语言
Question Given an input string, reverse the string word by word. For example, Given s = “t…
-
最大数详解编程语言
给定一个整数,从整数当中去掉k个数字,要求剩下数字形成的新整数尽可能小。 什么意思呢?让我们举几个栗子: 给定整数1593212,删去3个数字,新整数的最小情况是1212 给定整数…
-
Valid Palindrome详解编程语言
Given a string, determine if it is a palindrome, considering only alphanumeric characters …
-
Longest Palindromic Substring详解编程语言
Given a string S, find the longest palindromic substring in S. You may assume that the max…
-
Zero Sum Subarray详解编程语言
Given an integer array, find a subarray where the sum of numbers is zero. Your code should…
-
Subarray Sum K详解编程语言
Given an nonnegative integer array, find a subarray where the sum of numbers is k. Your co…
-
Subarray Sum Closest详解编程语言
Given an integer array, find a subarray with sum closest to zero. Return the indexes of th…
-
Recover Rotated Sorted Array详解编程语言
Given a rotated sorted array, recover it to sorted array in-place. Example [4, 5, 1, 2, 3]…
-
Product of Array Exclude Itself详解编程语言
Given an integers array A. Define B[i] = A[0] * … * A[i-1] * A[i+1] * … * A[n-1], calc…
-
Partition Array详解编程语言
Given an array nums of integers and an int k, partition the array (i.e move the elements i…