上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 40 下一页
摘要: Remove Palindromic Subsequences (E) 题目 Given a string s consisting only of letters 'a' and 'b'. In a single step you can remove one palindromic subseq 阅读全文
posted @ 2021-03-08 18:59 墨云黑 阅读(57) 评论(0) 推荐(0) 编辑
摘要: Design HashMap (E) 题目 Design a HashMap without using any built-in hash table libraries. To be specific, your design should include these functions: pu 阅读全文
posted @ 2021-03-07 16:14 墨云黑 阅读(43) 评论(0) 推荐(0) 编辑
摘要: Short Encoding of Words (M) 题目 A valid encoding of an array of words is any reference string s and array of indices indices such that: words.length == 阅读全文
posted @ 2021-03-06 19:11 墨云黑 阅读(65) 评论(0) 推荐(0) 编辑
摘要: Average of Levels in Binary Tree (E) 题目 Given a non-empty binary tree, return the average value of the nodes on each level in the form of an array. Ex 阅读全文
posted @ 2021-03-05 16:24 墨云黑 阅读(37) 评论(0) 推荐(0) 编辑
摘要: Intersection of Two Linked Lists (E) 题目 Write a program to find the node at which the intersection of two singly linked lists begins. For example, the 阅读全文
posted @ 2021-03-04 16:27 墨云黑 阅读(56) 评论(0) 推荐(0) 编辑
摘要: Set Mismatch (E) 题目 You have a set of integers s, which originally contains all the numbers from 1 to n. Unfortunately, due to some error, one of the 阅读全文
posted @ 2021-03-02 16:30 墨云黑 阅读(54) 评论(0) 推荐(0) 编辑
摘要: Distribute Candies (E) 题目 Alice has n candies, where the ith candy is of type candyType[i]. Alice noticed that she started to gain weight, so she visi 阅读全文
posted @ 2021-03-01 16:31 墨云黑 阅读(68) 评论(0) 推荐(0) 编辑
摘要: Maximum Frequency Stack (H) 题目 Implement FreqStack, a class which simulates the operation of a stack-like data structure. FreqStack has two functions: 阅读全文
posted @ 2021-02-28 16:59 墨云黑 阅读(59) 评论(0) 推荐(0) 编辑
摘要: Validate Stack Sequences (M) 题目 Given two sequences pushed and popped with distinct values, return true if and only if this could have been the result 阅读全文
posted @ 2021-02-26 22:48 墨云黑 阅读(50) 评论(0) 推荐(0) 编辑
摘要: Shortest Unsorted Continuous Subarray (M) 题目 Given an integer array nums, you need to find one continuous subarray that if you only sort this subarray 阅读全文
posted @ 2021-02-25 16:37 墨云黑 阅读(49) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 40 下一页