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: apple

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: 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 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: 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 5: May Leetcode Challenge Problem Description Given an array of non-negative integers nums, you are initially positioned at the first index…

Difficulty: Medium Link: Day 4 : May Leetcode Challenge Problem Description Given an array nums with n integers, your task is to check if it could become non-decreasing by…

Difficulty : Easy Link: Leetcode April Challenge 2021: Day 23 Problem Description Give a string s, count the number of non-empty (contiguous) substrings that have the…