11 2017 档案

摘要:原题链接在这里:https://leetcode.com/problems/shuffle-an-array/ 题目: Shuffle a set of numbers without duplicates. Example: 题解: Shuffle时每个数字在小于它的方位内 swap 一次. j 阅读全文
posted @ 2017-11-30 16:58 Dylan_Java_NYC 阅读(790) 评论(0) 推荐(0) 编辑
摘要:原题链接在这里:https://leetcode.com/problems/number-of-distinct-islands/description/ 题目: Given a non-empty 2D array grid of 0's and 1's, an island is a group 阅读全文
posted @ 2017-11-30 05:26 Dylan_Java_NYC 阅读(974) 评论(0) 推荐(0) 编辑
摘要:原题链接在这里:https://leetcode.com/problems/find-largest-value-in-each-tree-row/description/ 题目: You need to find the largest value in each row of a binary 阅读全文
posted @ 2017-11-27 13:09 Dylan_Java_NYC 阅读(312) 评论(0) 推荐(0) 编辑
摘要:原题链接在这里:https://leetcode.com/problems/sparse-matrix-multiplication/description/ 题目: Given two sparse matrices A and B, return the result of AB. You ma 阅读全文
posted @ 2017-11-26 07:22 Dylan_Java_NYC 阅读(299) 评论(0) 推荐(0) 编辑
摘要:原题链接在这里:https://leetcode.com/problems/partition-to-k-equal-sum-subsets/description/ 题目: Given an array of integers nums and a positive integer k, find 阅读全文
posted @ 2017-11-22 14:02 Dylan_Java_NYC 阅读(683) 评论(0) 推荐(0) 编辑
摘要:原题链接在这里:https://leetcode.com/problems/max-stack/description/ 题目: Design a max stack that supports push, pop, top, peekMax and popMax. push(x) -- Push 阅读全文
posted @ 2017-11-21 09:35 Dylan_Java_NYC 阅读(767) 评论(0) 推荐(0) 编辑
摘要:原题链接在这里:https://leetcode.com/problems/nested-list-weight-sum-ii/description/ 题目: Given a nested list of integers, return the sum of all integers in th 阅读全文
posted @ 2017-11-20 14:40 Dylan_Java_NYC 阅读(846) 评论(0) 推荐(0) 编辑
摘要:原题链接在这里:https://leetcode.com/problems/encode-and-decode-tinyurl/ 题目: TinyURL is a URL shortening service where you enter a URL such as https://leetcod 阅读全文
posted @ 2017-11-15 17:05 Dylan_Java_NYC 阅读(303) 评论(0) 推荐(0) 编辑
摘要:原题链接在这里:https://leetcode.com/problems/replace-words/description/ 题目: In English, we have a concept called root, which can be followed by some other wo 阅读全文
posted @ 2017-11-13 10:16 Dylan_Java_NYC 阅读(359) 评论(0) 推荐(0) 编辑
摘要:原题链接在这里:https://leetcode.com/problems/valid-triangle-number/ 题目: Given an array consists of non-negative integers, your task is to count the number of 阅读全文
posted @ 2017-11-05 06:00 Dylan_Java_NYC 阅读(150) 评论(0) 推荐(0) 编辑
摘要:原题链接在这里:https://leetcode.com/problems/design-tinyurl/description/ 题目: How would you design a URL shortening service that is similar to TinyURL? Backgr 阅读全文
posted @ 2017-11-03 08:33 Dylan_Java_NYC 阅读(445) 评论(0) 推荐(0) 编辑
摘要:原题链接在这里:https://leetcode.com/problems/create-maximum-number/description/ 题目: Given two arrays of length m and n with digits 0-9 representing two numbe 阅读全文
posted @ 2017-11-02 16:35 Dylan_Java_NYC 阅读(223) 评论(0) 推荐(0) 编辑
摘要:原题链接在这里:https://leetcode.com/problems/maximum-swap/ 题目: Given a non-negative integer, you could swap two digits at most once to get the maximum valued 阅读全文
posted @ 2017-11-01 15:05 Dylan_Java_NYC 阅读(500) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示