Monisha Mathew·May 29, 2020Search in Rotated Sorted Array Cont…Question: Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand.
Monisha Mathew·May 3, 2020Ignorance is BlissThe quarantine has enabled me to successfully binge on video content spanning countless platforms. In this scrupulous process, I happened…
Monisha Mathew·Nov 27, 2019Pain vs FearRemember that one time, when you were a kid and found that flame of a candle being very amusing. Your tiny little hands reached out with…
Monisha Mathew·Jul 15, 2019Move ZeroesQuestion: Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero…
Monisha Mathew·Jul 15, 2019Missing NumberQuestion: Given an array containing n distinct numbers taken from 0, 1, 2, ..., n, find the one that is missing from the array.
Monisha Mathew·Jul 15, 2019Delete Node in a Linked ListQuestion: Write a function to delete a node (except the tail) in a singly linked list, given only access to that node.
Monisha Mathew·Jul 14, 2019Palindrome Linked ListQuestion: Given a singly linked list, determine if it is a palindrome.
Monisha Mathew·Jul 12, 2019Count PrimesQuestion: Count the number of prime numbers less than a non-negative number, n.