摘要: 原题链接在这里:https://leetcode.com/problems/dice-roll-simulation/ 题目: A die simulator generates a random number from 1 to 6 for each roll. You introduced a 阅读全文
posted @ 2020-02-18 14:04 Dylan_Java_NYC 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/sort-an-array/ 题目: Given an array of integers nums, sort the array in ascending order. Example 1: Input: nums = 阅读全文
posted @ 2020-02-18 11:38 Dylan_Java_NYC 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/cousins-in-binary-tree/ 题目: In a binary tree, the root node is at depth 0, and children of each depth k node are 阅读全文
posted @ 2020-02-18 11:15 Dylan_Java_NYC 阅读(363) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string/ 题目: Given a string S of lowercase letters, a duplicate removal consist 阅读全文
posted @ 2020-02-18 10:33 Dylan_Java_NYC 阅读(366) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/elimination-game/ 题目: There is a list of sorted integers from 1 to n. Starting from left to right, remove the fi 阅读全文
posted @ 2020-02-18 06:56 Dylan_Java_NYC 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string-ii/ 题目: Given a string s, a k duplicate removal consists of choosing k  阅读全文
posted @ 2020-02-18 06:37 Dylan_Java_NYC 阅读(596) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/all-paths-from-source-to-target/ 题目: Given a directed, acyclic graph of N nodes. Find all possible paths from no 阅读全文
posted @ 2020-02-18 05:55 Dylan_Java_NYC 阅读(363) 评论(0) 推荐(0) 编辑