mrlonelyjtr's blog

写BUG的程序猿


  • Home

  • Categories

  • Archives

  • Tags

  • Search

[Leetcode] Problem 846 - Hand of Straights

Posted on 2020-10-08 | In Algorithm , LeetCode
Alice has a hand of cards, given as an array of integers. Now she wants to rearrange the cards into groups so that each group is size W, and consists ...
Read more »

[Leetcode] Problem 1296 - Divide Array in Sets of K Consecutive Numbers

Posted on 2020-10-08 | In Algorithm , LeetCode
Given an array of integers nums and a positive integer k, find whether it’s possible to divide this array into sets of k consecutive numbersReturn Tru ...
Read more »

[Leetcode] Problem 1110 - Delete Nodes And Return Forest

Posted on 2020-10-08 | In Algorithm , LeetCode
Given the root of a binary tree, each node in the tree has a distinct value. After deleting all nodes with a value in to_delete, we are left with a fo ...
Read more »

[Leetcode] Problem 675 - Cut Off Trees for Golf Event

Posted on 2020-10-07 | In Algorithm , LeetCode
You are asked to cut off trees in a forest for a golf event. The forest is represented as a non-negative 2D map, in this map: 0 represents the obstac ...
Read more »

[Leetcode] Problem 1377 - Frog Position After T Seconds

Posted on 2020-10-07 | In Algorithm , LeetCode
Given an undirected tree consisting of n vertices numbered from 1 to n. A frog starts jumping from the vertex 1. In one second, the frog jumps from it ...
Read more »

[Leetcode] Problem 964 - Least Operators to Express Number

Posted on 2020-10-07 | In Algorithm , LeetCode
Given a single positive integer x, we will write an expression of the form x (op1) x (op2) x (op3) x … where each operator op1, op2, etc. is either ad ...
Read more »

[Leetcode] Problem 952 - Largest Component Size by Common Factor

Posted on 2020-10-07 | In Algorithm , LeetCode
Given a non-empty array of unique positive integers A, consider the following graph: There are A.length nodes, labelled A[0] to A[A.length - 1]; Ther ...
Read more »

[Leetcode] Problem 943 - Find the Shortest Superstring

Posted on 2020-10-06 | In Algorithm , LeetCode
Given an array A of strings, find any smallest string that contains each string in A as a substring. We may assume that no string in A is substring of ...
Read more »

[Leetcode] Problem 399 - Evaluate Division

Posted on 2020-10-06 | In Algorithm , LeetCode
You are given an array of variable pairs equations and an array of real numbers values, where equations[i] = [Ai, Bi] and values[i] represent the equa ...
Read more »

[Leetcode] Problem 959 - Regions Cut By Slashes

Posted on 2020-10-05 | In Algorithm , LeetCode
In a N x N grid composed of 1 x 1 squares, each 1 x 1 square consists of a /, \, or blank space. These characters divide the square into contiguous r ...
Read more »
1…456…78
mrlonelyjtr

mrlonelyjtr

间歇性踌躇满志,持续性混吃等死

780 posts
18 categories
18 tags
Github
© 2020 mrlonelyjtr
Powered by Hexo
Theme - NexT.Pisces