Eddie DongLC986Problem: Given two sorted lists of intervals, List A and List B, the intervals in each list are not overlapped or disjoint. Find the…1 min read·Aug 18, 2021----
Eddie DongLC767Problem: Given a string s, rearrange the characters of s so that any two adjacent characters are not the same.Return any possible…1 min read·Aug 18, 2021----
Eddie DongLC 1041Problem: Instruction for a robot movement L : turn left, R: turn right, G: go straight for 1 step Given sequence of instruction will be…1 min read·Jul 18, 2021----
Eddie DongLC 560Goal: Find the numbers of subarrays that sum up to k. Array is an int array and has duplicates and negative numbers.1 min read·Jul 17, 2021----
Eddie DongLC 974Goal: Given an array of integers, count number of subarrays that have sums that are divisible by K, where 2 ≤ K ≤ 10000. The subarray size…1 min read·Jan 18, 2021----
Eddie DongLC 31Goal: Given an array of non integers, find the lexicographically next permutation. If no such permutation, return the ascending order…1 min read·Jan 14, 2021----
Eddie DongLC 84Goal: Given an array of non-negative integers which represent histograms with width of 1 and height of the integer value. Find the…2 min read·Jan 14, 2021----
Eddie DongLC 239Goal: Given an integer array and window side of K, find the max values for every window in the array. Return the max values array.2 min read·Jan 13, 2021----
Eddie DongLC 862Goal: find the size of shortest subarray in given array that sum up to at least K, where negative integer is allowed. Reasoning for…1 min read·Jan 13, 2021----