VarunMerge Two Arrays Removing DuplicatesHi , this question has been asked around wayy too many times in technical interviews.Apr 16, 2022Apr 16, 2022
VarunLongest Repeating Character ReplacementGiven a string s and an integer k. You can choose and change any character to any other uppercase English character. You can perform this…Apr 15, 2022Apr 15, 2022
VarunMax Product SubarrayGiven an array nums, find a contiguous (non-empty) subarray within the array that has the largest product, and return the product.Apr 14, 2022Apr 14, 2022
VarunMake a copy of a LinkedList with next and random pointerThree ways we can go about doing this :Apr 10, 2022Apr 10, 2022
VarunLeaders In an ArrayQuestion: Given an array of integers, returns a list for all elements for which elements to the right are smaller ( Or current element is…Apr 9, 2022Apr 9, 2022
Varun3rd Maximum in an ArrayIdea is to make use of the priority queue and set.Jan 26, 2022Jan 26, 2022