摘要:
https://leetcode.com/problems/container-with-most-water/ Given n non-negative integers a1, a2, ..., an , where each represents a point at coordinate ( 阅读全文
摘要:
https://leetcode.com/problems/implement-strstr/ Implement strStr(). Return the index of the first occurrence of needle in haystack, or -1 if needle is 阅读全文
摘要:
http://codeforces.com/contest/1066/problem/B Vova's house is an array consisting of nn elements (yeah, this is the first problem, I think, where someo 阅读全文
摘要:
http://codeforces.com/contest/1066/problem/F Maksim walks on a Cartesian plane. Initially, he stands at the point (0,0)(0,0) and in one move he can go 阅读全文
摘要:
https://leetcode.com/problems/pascals-triangle-ii/description/ Given a non-negative index k where k ≤ 33, return the kth index row of the Pascal's tri 阅读全文
摘要:
http://codeforces.com/contest/1006/problem/A Mishka got an integer array aa of length nn as a birthday present (what a surprise!). Mishka doesn't like 阅读全文
摘要:
https://pintia.cn/problem-sets/994805342720868352/problems/994805433955368960 Zhejiang University has 40,000 students and provides 2,500 courses. Now 阅读全文
摘要:
http://codeforces.com/contest/1075/problem/A On a chessboard with a width of nn and a height of nn, rows are numbered from bottom to top from 11 to nn 阅读全文
摘要:
https://leetcode.com/problems/longest-substring-without-repeating-characters/description/ Given a string, find the length of the longest substring wit 阅读全文