Premiumlab  
上一页 1 2 3 4 5 6 7 8 ··· 14 下一页

2017年7月24日

摘要: https://leetcode.com/problems/rotate-image/#/description You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clock 阅读全文
posted @ 2017-07-24 21:11 Premiumlab 阅读(117) 评论(0) 推荐(0) 编辑
 
摘要: https://leetcode.com/problems/copy-list-with-random-pointer/#/description A linked list is given such that each node contains an additional random poi 阅读全文
posted @ 2017-07-24 17:45 Premiumlab 阅读(92) 评论(0) 推荐(0) 编辑
 
摘要: https://leetcode.com/problems/course-schedule-ii/#/description There are a total of n courses you have to take, labeled from 0 to n - 1. Some courses 阅读全文
posted @ 2017-07-24 16:53 Premiumlab 阅读(129) 评论(0) 推荐(0) 编辑
 
摘要: https://leetcode.com/problems/h-index/#/description Given an array of citations (each citation is a non-negative integer) of a researcher, write a fun 阅读全文
posted @ 2017-07-24 11:20 Premiumlab 阅读(95) 评论(0) 推荐(0) 编辑

2017年7月23日

摘要: https://leetcode.com/problems/walls-and-gates/#/description You are given a m x n 2D grid initialized with these three possible values. -1 - A wall or 阅读全文
posted @ 2017-07-23 21:47 Premiumlab 阅读(98) 评论(0) 推荐(0) 编辑

2017年7月21日

摘要: https://leetcode.com/problems/maximal-square/#/description Given a 2D binary matrix filled with 0's and 1's, find the largest square containing only 1 阅读全文
posted @ 2017-07-21 23:36 Premiumlab 阅读(141) 评论(0) 推荐(0) 编辑
 
摘要: https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii/#/description Follow up for problem "Populating Next Right Pointers in Ea 阅读全文
posted @ 2017-07-21 17:00 Premiumlab 阅读(126) 评论(0) 推荐(0) 编辑

2017年7月13日

摘要: https://leetcode.com/problems/powx-n/#/description Implement pow(x, n). Sol: Recursion. Sol 2 : iteration. 阅读全文
posted @ 2017-07-13 18:21 Premiumlab 阅读(123) 评论(0) 推荐(0) 编辑

2017年7月12日

摘要: https://leetcode.com/problems/target-sum/#/description You are given a list of non-negative integers, a1, a2, ..., an, and a target, S. Now you have 2 阅读全文
posted @ 2017-07-12 23:03 Premiumlab 阅读(189) 评论(0) 推荐(0) 编辑
 
摘要: https://github.com/Premiumlab/Python-for-Algorithms--Data-Structures--and-Interviews/blob/master/Graphs/Word%20Ladder%20Example%20Problem.ipynb BFS. W 阅读全文
posted @ 2017-07-12 18:13 Premiumlab 阅读(414) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 14 下一页