上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 40 下一页
摘要: Remove Duplicates from Sorted List II (M) 题目 Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers f 阅读全文
posted @ 2021-01-05 16:24 墨云黑 阅读(53) 评论(0) 推荐(0) 编辑
摘要: Beautiful Arrangement (M) 题目 Suppose you have n integers from 1 to n. We define a beautiful arrangement as an array that is constructed by these n num 阅读全文
posted @ 2021-01-03 21:26 墨云黑 阅读(58) 评论(0) 推荐(0) 编辑
摘要: Find a Corresponding Node of a Binary Tree in a Clone of That Tree (M) 题目 Given two binary trees original and cloned and given a reference to a node t 阅读全文
posted @ 2021-01-02 18:41 墨云黑 阅读(76) 评论(0) 推荐(0) 编辑
摘要: Check Array Formation Through Concatenation (E) 题目 You are given an array of distinct integers arr and an array of integer arrays pieces, where the in 阅读全文
posted @ 2021-01-01 20:16 墨云黑 阅读(118) 评论(0) 推荐(0) 编辑
摘要: Largest Rectangle in Histogram (H) 题目 Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the 阅读全文
posted @ 2020-12-31 22:03 墨云黑 阅读(70) 评论(0) 推荐(0) 编辑
摘要: Pseudo-Palindromic Paths in a Binary Tree (M) 题目 Given a binary tree where node values are digits from 1 to 9. A path in the binary tree is said to be 阅读全文
posted @ 2020-12-29 19:54 墨云黑 阅读(98) 评论(0) 推荐(0) 编辑
摘要: Reach a Number (M) 题目 You are standing at position 0 on an infinite number line. There is a goal at position target. On each move, you can either go l 阅读全文
posted @ 2020-12-29 13:57 墨云黑 阅读(60) 评论(0) 推荐(0) 编辑
摘要: Jump Game IV (H) 题目 Given an array of integers arr, you are initially positioned at the first index of the array. In one step you can jump from index 阅读全文
posted @ 2020-12-27 19:43 墨云黑 阅读(193) 评论(0) 推荐(0) 编辑
摘要: Decode Ways (M) 题目 A message containing letters from A-Z is being encoded to numbers using the following mapping: 'A' -> 1 'B' -> 2 ... 'Z' -> 26 Give 阅读全文
posted @ 2020-12-26 16:57 墨云黑 阅读(57) 评论(0) 推荐(0) 编辑
摘要: Diagonal Traverse (M) 题目 Given a matrix of M x N elements (M rows, N columns), return all elements of the matrix in diagonal order as shown in the bel 阅读全文
posted @ 2020-12-25 22:31 墨云黑 阅读(56) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 40 下一页