摘要:
知识点,题型,模板,易错点,刷题中碰到的有用的小撇步小巧思还有语法问题都统一汇总在这里 String s.subtr(pos) pos to end or s.substr(pos, len) repeating a single char multiple times: string(times, 阅读全文
posted @ 2020-08-05 16:14
little_veggie
阅读(82)
评论(0)
推荐(0)
摘要:
Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements. Example: Input: 阅读全文
posted @ 2020-08-05 14:39
little_veggie
阅读(77)
评论(0)
推荐(0)
摘要:
You are given a string s containing lowercase English letters, and a matrix shift, where shift[i] = [direction, amount]: direction can be 0 (for left 阅读全文
posted @ 2020-08-05 12:13
little_veggie
阅读(173)
评论(0)
推荐(0)
摘要:
Given a 2D binary matrix filled with 0's and 1's, find the largest square containing only 1's and return its area. Example: Input: 1 0 1 0 0 1 0 1 1 1 阅读全文
posted @ 2020-08-05 05:22
little_veggie
阅读(73)
评论(0)
推荐(0)
摘要:
Given an array of strings, group anagrams together. Example: Input: ["eat", "tea", "tan", "ate", "nat", "bat"], Output: [ ["ate","eat","tea"], ["nat", 阅读全文
posted @ 2020-08-05 03:37
little_veggie
阅读(184)
评论(0)
推荐(0)

浙公网安备 33010602011771号