Given a string s, find the length of the longest substring without repeating characters...
![240](https://upload.jianshu.io/users/upload_avatars/14747450/f1fcb73f-a5fb-4de1-b345-8a2bab023362.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/240/h/240)
Given a string s, find the length of the longest substring without repeating characters...
You are given two non-empty linked lists representing two non-negative integers. The di...
Given a string s formed by digits ('0' - '9') and '#' . We want to map s to English low...
Given an integer n, return any array containing n unique integers such that they add up...
Given an array arr, replace every element in that array with the greatest element among...
Given an array nums of integers, return how many of them contain an even number of digi...
Given head which is a reference node to a singly-linked list. The value of each node in...
Given an integer array sorted in non-decreasing order, there is exactly one integer in ...
Given an integer number n, return the difference between the product of its digits and ...
Tic-tac-toe is played by two players A and B on a 3 x 3 grid.井字游戲由兩名玩家A和B在3 x 3的網(wǎng)格上進行历恐。 ...
On a plane there are n points with integer coordinates points[i] = [xi, yi]. Your task ...
Given a 2D grid of size m x n and an integer k. You need to shift the grid k times.給定大小...
Given n and m which are the dimensions of a matrix initialized by zeros and given an ar...
You are given an array coordinates, coordinates[i] = [x, y], where [x, y] represents th...
Balanced strings are those who have equal quantity of 'L' and 'R' characters.平衡的字符串是指具有...
We have n chips, where the position of the ith chip is position[i]. We need to move all...
Given an array of integers arr, write a function that returns true if and only if the n...
Given an array of distinct integers arr, find all pairs of elements with the minimum ab...
Given a string text, you want to use the characters of text to form as many instances o...
A bus has n stops numbered from 0 to n - 1 that form a circle. We know the distance bet...