LIKE CODING
Wednesday, May 12, 2021
LeetCode [1539] Kth Missing Positive Number
›
1539. Kth Missing Positive Number Easy 1003 57 Add to List Share Given an array arr of positive integers sorted in a strictly increas...
Sunday, May 9, 2021
LeetCode [1650] Lowest Common Ancestor of a Binary Tree III
›
1650. Lowest Common Ancestor of a Binary Tree III Medium 179 8 Add to List Share Given two nodes of a binary tree p and q , return t...
Saturday, May 8, 2021
LeetCode[1762] Buildings With an Ocean View
›
1762. Buildings With an Ocean View Medium 101 16 Add to List Share There are n buildings in a line. You are given an integer array height...
1 comment:
Thursday, April 29, 2021
LeetCode [1460] Make Two Arrays Equal by Reversing Sub-arrays
›
1460. Make Two Arrays Equal by Reversing Sub-arrays Easy 375 77 Add to List Share Given two integer arrays of equal length target and ...
Wednesday, April 28, 2021
Shortest Cycle in a Directed Graph
›
https://stackoverflow.com/questions/3911626/find-cycle-of-shortest-length-in-a-directed-graph-with-positive-weights 1 2 3 4 5 6 7 ...
Tuesday, April 27, 2021
SnakeAndLadder
›
Link 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 4...
Employee architecture
›
Link 题目大意应该是给雇主关系结构图, 是direct graph, 会给adjacent list, 好像允许有employee有>=1 boss。 一般首先会问这个关系是不是valid ? 我个人的理解valid是两个条件: 1. 所有的node都在一个群, 有一个...
›
Home
View web version