摘要:
仅供自己学习 题目: Given a string s that consists of only uppercase English letters, you can perform at most k operations on that string. In one operation, yo 阅读全文
摘要:
仅供自己学习 题目: Alice and Bob have candy bars of different sizes: A[i] is the size of the i-th bar of candy that Alice has, and B[j] is the size of the j-t 阅读全文
摘要:
仅供自己学习 题目: ou are a hiker preparing for an upcoming hike. You are given heights, a 2D array of size rows x columns, where heights[row][col] represents 阅读全文
摘要:
仅供自己学习 题目: Given an array of distinct integers candidates and a target integer target, return a list of all unique combinations of candidates where th 阅读全文
摘要:
仅供自己学习 题目: Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. Example 1: Input: n = 3Output: ["(( 阅读全文
摘要:
仅供自己学习 题目: Given an array of integers nums, write a method that returns the "pivot" index of this array. We define the pivot index as the index where 阅读全文
摘要:
仅供自己学习 题目: Given a string containing digits from 2-9 inclusive, return all possible letter combinations that the number could represent. Return the an 阅读全文
摘要:
仅供自己学习 题目: Given a signed 32-bit integer x, return x with its digits reversed. If reversing x causes the value to go outside the signed 32-bit integer 阅读全文
摘要:
仅供自己学习 题目: The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a 阅读全文
摘要:
仅供自己学习 题目: In a N x N grid composed of 1 x 1 squares, each 1 x 1 square consists of a /, \, or blank space. These characters divide the square into co 阅读全文