SethJS Count Negative Numbers in a Sorted MatrixGiven a m * n matrix grid which is sorted in non-increasing order both row-wise and column-wise.Feb 21, 2020Feb 21, 2020
SethJS Construct Target Array With Multiple SumsGiven an array of integers target. From a starting array, A consisting of all 1's, you may perform the following procedure :Feb 21, 2020Feb 21, 2020
SethJS Valid PalindromeGiven a non-empty string s, you may delete at most one character. Judge whether you can make it a palindrome.Feb 21, 2020Feb 21, 2020
SethJS Merge Two Sorted Listsvar a = [1,2,5]; var b = [2,4,3]; test(a,b); function test(a,b) { console.log([…a,…b].sort((a,b) => a-b)); }Feb 21, 2020Feb 21, 2020
SethRotate Array JSGiven an array, rotate the array to the right by k steps, where k is non-negative.Dec 8, 2019Dec 8, 2019
SethMerge Sorted ArrayGiven two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array.Dec 8, 20191Dec 8, 20191
SethMinimum Time Visiting All Points JSOn a plane there are n points with integer coordinates points[i] = [xi, yi]. Your task is to find the minimum time in seconds to visit all…Dec 8, 2019Dec 8, 2019
SethDailycodingproblem July 6, 2018Ill share solution for dailycodingproblem.com problem in JSJul 7, 2018Jul 7, 2018
SethDailycodingproblem July 5, 2018Ill share solution for dailycodingproblem.com problem in JSJul 5, 2018Jul 5, 2018