上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 77 下一页
摘要: Design and implement an iterator to flatten a 2d vector. It should support the following operations: next and hasNext. Example:Vector2D iterator = new 阅读全文
posted @ 2020-09-11 22:45 苗妙苗 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 【假设只有一周的复习时间,抱佛脚思路】我不得不说,算法题的内容真是太多了:浏览一遍都老费力了。宛如GRE。 数组、链表、字符串、q、stack、hash:有很多小技巧的题目,但是也懒得去看了。临时看看基本的一些翻转就行了 快速排序、n sum:都是固定的模板,临时看看就行了前向窗口:写了--【】设计 阅读全文
posted @ 2020-09-08 00:42 苗妙苗 阅读(145) 评论(0) 推荐(0) 编辑
摘要: Given a string containing digits from 2-9 inclusive, return all possible letter combinations that the number could represent. A mapping of digit to le 阅读全文
posted @ 2020-09-01 08:33 苗妙苗 阅读(117) 评论(0) 推荐(0) 编辑
摘要: Given a non-empty 2D array grid of 0's and 1's, an island is a group of 1's (representing land) connected 4-directionally (horizontal or vertical.) Yo 阅读全文
posted @ 2020-08-31 01:43 苗妙苗 阅读(127) 评论(0) 推荐(0) 编辑
摘要: Given a 2D board and a word, find if the word exists in the grid. The word can be constructed from letters of a sequentially adjacent cells, where "ad 阅读全文
posted @ 2020-08-29 00:12 苗妙苗 阅读(173) 评论(0) 推荐(0) 编辑
摘要: Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacen 阅读全文
posted @ 2020-08-27 10:24 苗妙苗 阅读(127) 评论(0) 推荐(0) 编辑
摘要: Given a non-empty 2D array grid of 0's and 1's, an island is a group of 1's (representing land) connected 4-directionally (horizontal or vertical.) Yo 阅读全文
posted @ 2020-08-26 23:15 苗妙苗 阅读(157) 评论(0) 推荐(0) 编辑
摘要: Given a string s, partition s such that every substring of the partition is a palindrome. Return all possible palindrome partitioning of s. Example: I 阅读全文
posted @ 2020-08-15 11:14 苗妙苗 阅读(98) 评论(0) 推荐(0) 编辑
摘要: Given a collection of candidate numbers (candidates) and a target number (target), find all unique combinations in candidates where the candidate numb 阅读全文
posted @ 2020-08-13 23:17 苗妙苗 阅读(150) 评论(0) 推荐(0) 编辑
摘要: Given a set of candidate numbers (candidates) (without duplicates) and a target number (target), find all unique combinations in candidates where the 阅读全文
posted @ 2020-08-11 23:25 苗妙苗 阅读(173) 评论(0) 推荐(0) 编辑
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 77 下一页