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: Leetcode challenge

Difficulty: Medium Link: Day 27: May Leetcode Challenge Problem Statement Given a string array words, return the maximum value of length(word[i]) * length(word[j]) where the two words do not…

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…

Difficulty: Medium Link: Day 12: May Leetcode Challenge Problem Description Given a 2D matrix matrix, handle multiple queries of the following type: Calculate the sum of the elements…

Difficulty: Easy Link: Day 3: May Leetcode Challenge Problem Statement Given an array nums. We define a running sum of an array as runningSum[i] = sum(nums[0]…nums[i]). Return…

Difficulty: Medium Tag: April Leetcode Challenge: Day 22 Problem Statement There is a brick wall in front of you. The wall is rectangular and has…

Difficulty: Medium Link: April Leetcoding Challenge : Day 14 Given the head of a linked list and a value x, partition it such that all nodes less than x come before…

Problem description (Difficulty: Easy) In an alien language, surprisingly they also use english lowercase letters, but possibly in a different order. The order of the alphabet is some permutation of lowercase…