260. Single Number III 题目 Given an array of numbers nums, in which exactly two elements appear only once and a…
分类:LeetCode题目解答
76. Minimum Window Substring
76. Minimum Window Substring 题目 Given a string S and a string T, find the minimum window in S which will conta…
[LeetCode] Find Anagram Mappings 寻找异构映射
Given two lists A and B, and B is an anagram of A. B is an anag…
[LeetCode] Minimize Max Distance to Gas Station 最小化去加油站的最大距离
On a horizontal number line, we have gas stations at positions stations[0], stations[1], ..., stat…
力扣(LeetCode)3
题目地址:https://leetcode-cn.com/probl…题目描述:给定一个字符串,请你找出其中不含有重复字符的 最长子串 的长度。 示例 1: 输入: “abcabcbb”…
[LeetCode] Accounts Merge 账户合并
Given a list accounts, each element accounts[i] is a list of strings, where the first el…
LeetCode | 3Sum Closest
题目: Given an array S of n integers, find three integers in S such that the sum i…
LeetCode 258 Add Digits
题目描述 Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. For …
117. Populating Next Right Pointers in Each Node II
欢迎fork and star:Nowcoder-Repository-github 117. Populating Next Right Pointers in Each Node II 题目 Follow up fo…
[LeetCode] Rotate Image 旋转图像
You are given an n x n 2D matrix representing an image. Rotate the image by 90 degr…
[LeetCode] Unique Word Abbreviation 独特的单词缩写
An abbreviation of a word follows the form <first letter><number><last letter>. Below…
[LeetCode] Add Binary 二进制数相加
Given two binary strings, return their sum (also a binary string). For example,a = "11"b = "1"Return…