Set Matrix Zeroes
Set Matrix Zeroes: Given an m x n integer matrix matrix, if an element is 0, set its entire row and column to 0’s.
Set Matrix Zeroes: Given an m x n integer matrix matrix, if an element is 0, set its entire row and column to 0’s.
Longest Consecutive Sequence: Given an unsorted array of integers nums, return the length of the longest consecutive elements sequence. You must write an algorithm that runs in O(n) time. Example…
First Missing Positive: Given an unsorted integer array nums, return the smallest missing positive integer.
Product of Array Except Self: Given an integer array nums, return an array answer such that answer[i] is equal to the product of all the elements of nums except nums[i].