[Solved] 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].Leetcode SolutionsAbhishek SharmaSeptember 25, 2022
[Solved] There is a singly-linked list head and we want to delete a node node in it. You are given the node to be deleted node. You will not be given access to the first node of head.Leetcode SolutionsAbhishek SharmaSeptember 25, 2022
[Solved] Given the head of a singly linked list, return true if it is a palindrome or false otherwise.Leetcode SolutionsAbhishek SharmaSeptember 25, 2022
[Solved] Given an integer n, return true if it is a power of two. Otherwise, return false. An integer n is a power of two, if there exists an integer x such that n == 2x.Leetcode SolutionsAbhishek SharmaSeptember 25, 2022
[Solved] Given the root of a binary search tree, and an integer k, return the kth smallest value (1-indexed) of all the values of the nodes in the tree.Leetcode SolutionsAbhishek SharmaSeptember 25, 2022
[Solved] Given an integer array nums and an integer k, return true if there are two distinct indices i and j in the array such that nums[i] == nums[j] and abs(i – j) <= k.Leetcode SolutionsAbhishek SharmaSeptember 25, 2022
[Solved] Given an integer array nums, return true if any value appears at least twice in the array, and return false if every element is distinct.Leetcode SolutionsAbhishek SharmaSeptember 25, 2022
[Solved] Given an integer array nums and an integer k, return the kth largest element in the array. Note that it is the kth largest element in the sorted order, not the kth distinct element.Leetcode SolutionsAbhishek SharmaSeptember 25, 2022
[Solved] Given the head of a singly linked list, reverse the list, and return the reversed list.Leetcode SolutionsAbhishek SharmaSeptember 25, 2022
[Solved] Given an integer n, return the number of prime numbers that are strictly less than n.Leetcode SolutionsAbhishek SharmaSeptember 25, 2022
[Solved] Write an algorithm to determine if a number n is happy. A happy number is a number defined by the following process: Starting with any positive integer, replace the number by the sum of the squares of its digits.Leetcode SolutionsAbhishek SharmaSeptember 25, 2022
[Solved] Write an SQL query to delete all the duplicate emails, keeping only one unique email with the smallest id. Note that you are supposed to write a DELETE statement and not a SELECT one.Leetcode SolutionsAbhishek SharmaSeptember 24, 2022
[Solved] Write a function that takes an unsigned integer and returns the number of ‘1’ bits it has (also known as the Hamming weight).Leetcode SolutionsAbhishek SharmaSeptember 24, 2022
[Solved] Given an array, rotate the array to the right by k steps, where k is non-negative.Leetcode SolutionsAbhishek SharmaSeptember 24, 2022
[Solved] Write an SQL query to report all the duplicate emails. Return the result table in any order.Leetcode SolutionsAbhishek SharmaSeptember 24, 2022
[Solved] Given a string columnTitle that represents the column title as appears in an Excel sheet, return its corresponding column number.Leetcode SolutionsAbhishek SharmaSeptember 24, 2022
[Solved] Given an integer n, return the number of trailing zeroes in n!. Note that n! = n * (n – 1) * (n – 2) * … * 3 * 2 * 1.Leetcode SolutionsAbhishek SharmaSeptember 24, 2022
[Solved] Given a 1-indexed array of integers numbers that is already sorted in non-decreasing order, find two numbers such that they add up to a specific target number. Let these two numbers be numbers[index1] and numbers[index2] where 1 <= index1 < index2 <= numbers.length.Leetcode SolutionsAbhishek SharmaSeptember 24, 2022
[Solved] Given an array nums of size n, return the majority element. The majority element is the element that appears more than ⌊n / 2⌋ times. You may assume that the majority element always exists in the array.Leetcode SolutionsAbhishek SharmaSeptember 24, 2022
[Solved] Given two version numbers, version1 and version2, compare them. Version numbers consist of one or more revisions joined by a dot ‘.’. Each revision consists of digits and may contain leading zeros. Every revision contains at least one character.Leetcode SolutionsAbhishek SharmaSeptember 24, 2022