Difficulty: Easy Link: Day 8: June Leetcode Challenge Problem Statement You are given an integer array cost where cost[i] is the cost of ith step on a staircase. Once you pay…

# Tag: amazon

Difficulty: Medium Link: Day3: June Leetcode Challenge 2021 Problem Statement Given a rectangular cake with height h and width w, and two arrays of integers horizontalCuts and verticalCuts where horizontalCuts[i] is the distance from…

Difficulty: Medium Link: Day 26, May Leetcode Challenge Problem Description A decimal number is called deci-binary if each of its digits is either 0 or 1 without any leading zeros. For…

Difficulty: Easy Link: Day 24: May Leetcode Challenge Problem Description Given a string s, return the string after replacing every uppercase letter with the same lowercase letter.…

Difficulty : Medium Link: Day 12: May Leetcode Challenge Problem Description Given the root of a binary tree, return the level order traversal of its nodes’ values. (i.e.,…

Difficulty: Medium Link: Day 19:May Leetcode Challenge Problem Description Given an integer array nums of size n, return the minimum number of moves required to make all array elements…

Difficulty: Medium Link: Day 18: May Leetcode Challenge Problem Description Given a list paths of directory info, including the directory path, and all the files with contents…

Difficulty: Hard Link : Day 15: May Leetcode Challenge Asked in : Facebook, Linkedin, Twitch Problem Description A valid number can be split up into these components…

Difficulty: Medium Link: Day 13: May Leetcode Challenge Problem Description We had some 2-dimensional coordinates, like “(1, 3)” or “(2, 0.5)”. Then, we removed all commas, decimal points, and…

Difficulty: Medium Link: Leetcode 986 Problem Statement You are given two lists of closed intervals, firstList and secondList, where firstList[i] = [starti, endi] and secondList[j] = [startj, endj]. Each list of…