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…Aug 18, 2021Aug 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…Aug 18, 2021Aug 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…Jul 18, 2021Jul 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.Jul 17, 2021Jul 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…Jan 18, 2021Jan 18, 2021
Eddie DongLC 31Goal: Given an array of non integers, find the lexicographically next permutation. If no such permutation, return the ascending order…Jan 14, 2021Jan 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…Jan 14, 2021Jan 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.Jan 13, 2021Jan 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…Jan 13, 2021Jan 13, 2021