原文链接: https://leetcode-cn.com/problems/zuo-xuan-zhuan-zi-fu-chuan-lcof
中文题目字符串的左旋转操作是把字符串前面的若干个字符转移到字符串的尾部。请定义一个函数实现字符
标签详情
双指针 分类
原文链接: https://leetcode-cn.com/problems/sub-sort-lcci
英文原文Given an array of integers, write a method to find indices m
原文链接: https://leetcode-cn.com/problems/one-away-lcci
英文原文There are three types of edits that can be performed on strin
原文链接: https://leetcode-cn.com/problems/kth-node-from-end-of-list-lcci
英文原文Implement an algorithm to find the kth to la
原文链接: https://leetcode-cn.com/problems/partition-list-lcci
英文原文Write code to partition a linked list around a value x,
原文链接: https://leetcode-cn.com/problems/sorted-merge-lcci
英文原文You are given two sorted arrays, A and B, where A has a l
原文链接: https://leetcode-cn.com/problems/continuous-median-lcci
英文原文Numbers are randomly generated and passed to a metho
原文链接: https://leetcode-cn.com/problems/pairs-with-sum-lcci
英文原文Design an algorithm to find all pairs of integers withi
原文链接: https://leetcode-cn.com/problems/2vYnGI
英文原文
中文题目小扣在秋日市集选择了一家早餐摊位,一维整型数组 `staple` 中记录了每种主食的价格,一维整型数组 `drinks` 中
原文链接: https://leetcode-cn.com/problems/4xy4Wx
英文原文
中文题目小力将 N 个零件的报价存于数组 `nums`。小力预算为 `target`,假定小力仅购买两个零件,要求购买零件的花费不超