LIKE CODING

Wednesday, May 29, 2019

LeetCode [896] Monotonic Array

›
An array is  monotonic  if it is either monotone increasing or monotone decreasing. An array  A  is monotone increasing if for all  i ...

LeetCode [632] Smallest Range

›
You have  k  lists of sorted integers in ascending order. Find the  smallest  range that includes at least one number from each of the  k ...
Tuesday, May 28, 2019

LeetCode [536] Construct Binary Tree from String

›
You need to construct a binary tree from a string consisting of parenthesis and integers. The whole input represents a binary tree. It...
Sunday, May 26, 2019

LeetCode [708] Insert into a Cyclic Sorted List

›
Given a node from a cyclic linked list which is sorted in ascending order, write a function to insert a value into the list such that it...

LeetCode [958] Check Completeness of a Binary Tree

›
Given a binary tree, determine if it is a  complete binary tree . Definition of a complete binary tree from  Wikipedia : In a complete b...
Saturday, May 25, 2019

LeetCode [567] Permutation in String

›
567. Permutation in String Medium 1680 62 Add to List Share Given two strings  s1  and  s2 , write a function to return true if  s2  contai...
Friday, May 24, 2019

LeetCode [636] Exclusive Time of Functions

›
On a single threaded CPU, we execute some functions.  Each function has a unique id between  0  and  N-1 . We store logs in timestamp or...
‹
›
Home
View web version
Powered by Blogger.