#dailydoseofdsa
Read more stories on Hashnode
Articles with this tag
Problem Link https://leetcode.com/problems/maximum-score-from-removing-substrings/description/ Approach If x > y we have to focus on making the "ab"...
Problem Link Click Here Approach First we will store the characters other than parenthesis because we don't want parenthesis in our answer. As soon...
Problem Link Click Here Intuition see whenever we write the commandcd /foldernameand suppose you are in the root directory so once this command is...
Problem link Click here Approach Initially, when the chef is not doing anything and a customer arrives, the waiting time for the customer to get a...
Problem Link Click Here Approaches Approach 1 (Brute force) we will create one array/vector to store the values from 1 to n, representing the...
Problem Link Click Here Approach We need to calculate the maximum number of full water bottles we can consume right so let's consider one test...