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: data structures

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: 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 25: May Leetcode Challenge Problem Description Evaluate the value of an arithmetic expression in Reverse Polish Notation. Valid operators are +, -, *, and /. Each…

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 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 2: May LeetCode Challenge Problem Description Count the number of prime numbers less than a non-negative number, n. Examples Constraints 0 <=…

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…

Difficulty: Medium. Link: Day 6: May Leetcode Challenge Problem Description Given the head of a singly linked list where elements are sorted in ascending order, convert it to…

Difficulty: Medium Link : Day 5: May Leetcode Challenge Problem Description Given an array of non-negative integers nums, you are initially positioned at the first index…