原文链接: https://leetcode-cn.com/problems/beautiful-arrangement-ii
英文原文Given two integers n and k, construct a list answe
分类详情
中等 分类
原文链接: https://leetcode-cn.com/problems/trim-a-binary-search-tree
英文原文Given the root of a binary search tree and the lo
原文链接: https://leetcode-cn.com/problems/maximum-swap
英文原文You are given an integer num. You can swap two digits at most
原文链接: https://leetcode-cn.com/problems/bulb-switcher-ii
英文原文There is a room with n bulbs labeled from 1 to n that all
原文链接: https://leetcode-cn.com/problems/number-of-longest-increasing-subsequence
英文原文Given an integer array nums,
原文链接: https://leetcode-cn.com/problems/implement-magic-dictionary
英文原文Design a data structure that is initialized with
原文链接: https://leetcode-cn.com/problems/map-sum-pairs
英文原文Design a map that allows you to do the following:
Maps
原文链接: https://leetcode-cn.com/problems/valid-parenthesis-string
英文原文Given a string s containing only three types of ch
原文链接: https://leetcode-cn.com/problems/redundant-connection
英文原文In this problem, a tree is an undirected graph that is
原文链接: https://leetcode-cn.com/problems/repeated-string-match
英文原文Given two strings a and b, return the minimum nu