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: coding interview

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: Day1 : June LeetCode Challenge Problem Description You are given an m x n binary matrix grid. An island is a group of 1‘s (representing land)…

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 21: May Leetcode Challenge Problem Description Given a list of strings words and a string pattern, return a list of words[i] that match pattern. You may return the…

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 17: May Leetcode Challenge Problem Description Given a list of words, each word consists of English lowercase letters. Let’s say word1 is a…

Difficulty: Medium Link: Day 14: May Leetcode Challenge Problem Description Given the root of a binary tree, flatten the tree into a “linked list”: The “linked list”…

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…

Problem Description Given two strings word1 and word2, return the minimum number of steps required to make word1 and word2 the same. In one step, you can delete exactly one character in either string. Examples Constraints…