上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 40 下一页
摘要: Task Scheduler (M) 题目 You are given a char array representing tasks CPU need to do. It contains capital letters A to Z where each letter represents a 阅读全文
posted @ 2020-07-29 08:35 墨云黑 阅读(127) 评论(0) 推荐(0) 编辑
摘要: Construct Binary Tree from Inorder and Postorder Traversal (M) 题目 Given inorder and postorder traversal of a tree, construct the binary tree. Note: Yo 阅读全文
posted @ 2020-07-28 09:16 墨云黑 阅读(166) 评论(0) 推荐(0) 编辑
摘要: Add Digits (E) 题目 Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. Example: Input: 38 Output: 2 Ex 阅读全文
posted @ 2020-07-27 09:49 墨云黑 阅读(156) 评论(0) 推荐(0) 编辑
摘要: Find Minimum in Rotated Sorted Array II (H) 题目 Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand. (i.e., [ 阅读全文
posted @ 2020-07-26 09:17 墨云黑 阅读(102) 评论(0) 推荐(0) 编辑
摘要: All Paths From Source to Target (M) 题目 Given a directed, acyclic graph of N nodes. Find all possible paths from node 0 to node N-1, and return them in 阅读全文
posted @ 2020-07-25 08:13 墨云黑 阅读(127) 评论(0) 推荐(0) 编辑
摘要: Single Number III (M) 题目 Given an array of numbers nums, in which exactly two elements appear only once and all the other elements appear exactly twic 阅读全文
posted @ 2020-07-24 08:02 墨云黑 阅读(171) 评论(0) 推荐(0) 编辑
摘要: Edit Distance (H) 题目 Given two words word1 and word2, find the minimum number of operations required to convert word1 to word2. You have the following 阅读全文
posted @ 2020-07-23 06:58 墨云黑 阅读(164) 评论(0) 推荐(0) 编辑
摘要: Binary Tree Zigzag Level Order Traversal (M) 题目 Given a binary tree, return the zigzag level order traversal of its nodes' values. (ie, from left to r 阅读全文
posted @ 2020-07-23 06:28 墨云黑 阅读(145) 评论(0) 推荐(0) 编辑
摘要: Burst Balloons (H) 题目 Given n balloons, indexed from 0 to n-1. Each balloon is painted with a number on it represented by array nums. You are asked to 阅读全文
posted @ 2020-07-22 16:57 墨云黑 阅读(161) 评论(0) 推荐(0) 编辑
摘要: Word Search (M) 题目 Given a 2D board and a word, find if the word exists in the grid. The word can be constructed from letters of sequentially adjacent 阅读全文
posted @ 2020-07-22 10:32 墨云黑 阅读(220) 评论(0) 推荐(0) 编辑
上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 40 下一页