Day-4
First Unique Character in a String
Leetcode #387
Algorithm: Stack
Related Video: https://www.youtube.com/watch?v=KnWqCfIfHX0
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Follow on Linkedin: https://www.linkedin.com/company/tech-dose
Please try the problem yourself and watch the video to learn the Algorithm ๐
Please SHARE this initiative with your friends as well ๐
#techdose #28DaysOfArray #interviewpreparation #arrays #dsa #MaxFreqLast6Months #facebook12 #amazon38 #google4 #microsoft7 #apple6
First Unique Character in a String
Leetcode #387
Algorithm: Stack
Related Video: https://www.youtube.com/watch?v=KnWqCfIfHX0
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Follow on Linkedin: https://www.linkedin.com/company/tech-dose
Please try the problem yourself and watch the video to learn the Algorithm ๐
Please SHARE this initiative with your friends as well ๐
#techdose #28DaysOfArray #interviewpreparation #arrays #dsa #MaxFreqLast6Months #facebook12 #amazon38 #google4 #microsoft7 #apple6
LeetCode
First Unique Character in a String - LeetCode
Can you solve this real interview question? First Unique Character in a String - Given a string s, find the first non-repeating character in it and return its index. If it does not exist, return -1.
Example 1:
Input: s = "leetcode"
Output: 0
Explanation:โฆ
Example 1:
Input: s = "leetcode"
Output: 0
Explanation:โฆ
Day-4 (Solution)
First Unique Character in a String
Leetcode #387
Algorithm: Stack
Solution: https://gist.github.com/lavakush-m-tiwari/137cfbe73d678c860e216487cbfb12f2
Related Video: https://www.youtube.com/watch?v=KnWqCfIfHX0
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Follow on Linkedin: https://www.linkedin.com/company/tech-dose
Please try the problem yourself and watch the video to learn the Algorithm ๐
Please SHARE this initiative with your friends as well ๐
#techdose #28DaysOfArray #interviewpreparation #arrays #dsa #MaxFreqLast6Months #facebook12 #amazon38 #google4 #microsoft7 #apple6
First Unique Character in a String
Leetcode #387
Algorithm: Stack
Solution: https://gist.github.com/lavakush-m-tiwari/137cfbe73d678c860e216487cbfb12f2
Related Video: https://www.youtube.com/watch?v=KnWqCfIfHX0
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Follow on Linkedin: https://www.linkedin.com/company/tech-dose
Please try the problem yourself and watch the video to learn the Algorithm ๐
Please SHARE this initiative with your friends as well ๐
#techdose #28DaysOfArray #interviewpreparation #arrays #dsa #MaxFreqLast6Months #facebook12 #amazon38 #google4 #microsoft7 #apple6
LeetCode
First Unique Character in a String - LeetCode
Can you solve this real interview question? First Unique Character in a String - Given a string s, find the first non-repeating character in it and return its index. If it does not exist, return -1.
Example 1:
Input: s = "leetcode"
Output: 0
Explanation:โฆ
Example 1:
Input: s = "leetcode"
Output: 0
Explanation:โฆ
Day-5
Remove K Digits
Leetcode #402
Algorithm: Stack, Greedy, Monotonic Stack
Related Video: https://www.youtube.com/watch?v=3QJzHqNAEXs
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Follow on Linkedin: https://www.linkedin.com/company/tech-dose
Please try the problem yourself and watch the video to learn the Algorithm ๐
Please SHARE this initiative with your friends as well ๐
#techdose #28DaysOfArray #interviewpreparation #arrays #dsa #MaxFreqLast6Months #amazon6 #google2 #microsoft3 #adobe3
Remove K Digits
Leetcode #402
Algorithm: Stack, Greedy, Monotonic Stack
Related Video: https://www.youtube.com/watch?v=3QJzHqNAEXs
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Follow on Linkedin: https://www.linkedin.com/company/tech-dose
Please try the problem yourself and watch the video to learn the Algorithm ๐
Please SHARE this initiative with your friends as well ๐
#techdose #28DaysOfArray #interviewpreparation #arrays #dsa #MaxFreqLast6Months #amazon6 #google2 #microsoft3 #adobe3
LeetCode
Remove K Digits - LeetCode
Can you solve this real interview question? Remove K Digits - Given string num representing a non-negative integer num, and an integer k, return the smallest possible integer after removing k digits from num.
Example 1:
Input: num = "1432219", k = 3โฆ
Example 1:
Input: num = "1432219", k = 3โฆ
Day-5 (Solution)
Remove K Digits
Leetcode #402
Algorithm: Stack, Greedy, Monotonic Stack
Solution: https://gist.github.com/lavakush-m-tiwari/70f4b730498bb9fc39fafb83449fd261
Related Video: https://www.youtube.com/watch?v=3QJzHqNAEXs
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Follow on Linkedin: https://www.linkedin.com/company/tech-dose
Please try the problem yourself and watch the video to learn the Algorithm ๐
Please SHARE this initiative with your friends as well ๐
#techdose #28DaysOfArray #interviewpreparation #arrays #dsa #MaxFreqLast6Months #amazon6 #google2 #microsoft3 #adobe3
Remove K Digits
Leetcode #402
Algorithm: Stack, Greedy, Monotonic Stack
Solution: https://gist.github.com/lavakush-m-tiwari/70f4b730498bb9fc39fafb83449fd261
Related Video: https://www.youtube.com/watch?v=3QJzHqNAEXs
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Follow on Linkedin: https://www.linkedin.com/company/tech-dose
Please try the problem yourself and watch the video to learn the Algorithm ๐
Please SHARE this initiative with your friends as well ๐
#techdose #28DaysOfArray #interviewpreparation #arrays #dsa #MaxFreqLast6Months #amazon6 #google2 #microsoft3 #adobe3
LeetCode
Remove K Digits - LeetCode
Can you solve this real interview question? Remove K Digits - Given string num representing a non-negative integer num, and an integer k, return the smallest possible integer after removing k digits from num.
Example 1:
Input: num = "1432219", k = 3โฆ
Example 1:
Input: num = "1432219", k = 3โฆ
Day-6
Implement Queue using Stacks
Leetcode #232
Algorithm: Stack
Related Video: https://www.youtube.com/watch?v=xSa0sD-RqMg
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Follow on Linkedin: https://www.linkedin.com/company/tech-dose
Please try the problem yourself and watch the video to learn the Algorithm ๐
Please SHARE this initiative with your friends as well ๐
#techdose #28DaysOfArray #interviewpreparation #arrays #dsa #MaxFreqLast6Months #amazon9 #microsoft6 #goldmansachs2
Implement Queue using Stacks
Leetcode #232
Algorithm: Stack
Related Video: https://www.youtube.com/watch?v=xSa0sD-RqMg
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Follow on Linkedin: https://www.linkedin.com/company/tech-dose
Please try the problem yourself and watch the video to learn the Algorithm ๐
Please SHARE this initiative with your friends as well ๐
#techdose #28DaysOfArray #interviewpreparation #arrays #dsa #MaxFreqLast6Months #amazon9 #microsoft6 #goldmansachs2
LeetCode
Implement Queue using Stacks - LeetCode
Can you solve this real interview question? Implement Queue using Stacks - Implement a first in first out (FIFO) queue using only two stacks. The implemented queue should support all the functions of a normal queue (push, peek, pop, and empty).
Implementโฆ
Implementโฆ
Hello everyone. Due to non-availability, we couldn't post problems. We are resuming today with the same topic.
Practice well :)
Practice well :)
Day-6(Solution):
Implement Queue using Stacks
Leetcode #232
Algorithm: Stack
Solution: https://gist.github.com/lavakush-m-tiwari/f8ad3f00eb062fa24f96cb4a4b6d6e03
Related Video: https://www.youtube.com/watch?v=xSa0sD-RqMg
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Follow on Linkedin: https://www.linkedin.com/company/tech-dose
Please try the problem yourself and watch the video to learn the Algorithm ๐
Please SHARE this initiative with your friends as well ๐
#techdose #28DaysOfArray #interviewpreparation #arrays #dsa #MaxFreqLast6Months #amazon9 #microsoft6 #goldmansachs2
Implement Queue using Stacks
Leetcode #232
Algorithm: Stack
Solution: https://gist.github.com/lavakush-m-tiwari/f8ad3f00eb062fa24f96cb4a4b6d6e03
Related Video: https://www.youtube.com/watch?v=xSa0sD-RqMg
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Follow on Linkedin: https://www.linkedin.com/company/tech-dose
Please try the problem yourself and watch the video to learn the Algorithm ๐
Please SHARE this initiative with your friends as well ๐
#techdose #28DaysOfArray #interviewpreparation #arrays #dsa #MaxFreqLast6Months #amazon9 #microsoft6 #goldmansachs2
LeetCode
Implement Queue using Stacks - LeetCode
Can you solve this real interview question? Implement Queue using Stacks - Implement a first in first out (FIFO) queue using only two stacks. The implemented queue should support all the functions of a normal queue (push, peek, pop, and empty).
Implementโฆ
Implementโฆ
Day-7
Simplify Path
#121
Algorithm: Stack, String
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Follow on Linkedin: https://www.linkedin.com/company/tech-dose
Please try the problem yourself and watch the video to learn the Algorithm ๐
Please SHARE this initiative with your friends as well ๐
#techdose #28DaysOfArray #interviewpreparation #arrays #dsa #MaxFreqLast6Months #facebook93 #google6 #amazon5
Simplify Path
#121
Algorithm: Stack, String
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Follow on Linkedin: https://www.linkedin.com/company/tech-dose
Please try the problem yourself and watch the video to learn the Algorithm ๐
Please SHARE this initiative with your friends as well ๐
#techdose #28DaysOfArray #interviewpreparation #arrays #dsa #MaxFreqLast6Months #facebook93 #google6 #amazon5
LeetCode
Simplify Path - LeetCode
Can you solve this real interview question? Simplify Path - You are given an absolute path for a Unix-style file system, which always begins with a slash '/'. Your task is to transform this absolute path into its simplified canonical path.
The rules of aโฆ
The rules of aโฆ
Day-7 (Solution)
Simplify Path
#121
Algorithm: Stack, String
Solution: https://gist.github.com/lavakush-m-tiwari/bb2a6f9310f0364084b2e8fb744f7bef
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Follow on Linkedin: https://www.linkedin.com/company/tech-dose
Please try the problem yourself and watch the video to learn the Algorithm ๐
Please SHARE this initiative with your friends as well ๐
#techdose #28DaysOfArray #interviewpreparation #arrays #dsa #MaxFreqLast6Months #facebook93 #google6 #amazon5
Simplify Path
#121
Algorithm: Stack, String
Solution: https://gist.github.com/lavakush-m-tiwari/bb2a6f9310f0364084b2e8fb744f7bef
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Follow on Linkedin: https://www.linkedin.com/company/tech-dose
Please try the problem yourself and watch the video to learn the Algorithm ๐
Please SHARE this initiative with your friends as well ๐
#techdose #28DaysOfArray #interviewpreparation #arrays #dsa #MaxFreqLast6Months #facebook93 #google6 #amazon5
LeetCode
Simplify Path - LeetCode
Can you solve this real interview question? Simplify Path - You are given an absolute path for a Unix-style file system, which always begins with a slash '/'. Your task is to transform this absolute path into its simplified canonical path.
The rules of aโฆ
The rules of aโฆ
Day-8
Car Fleet
#853
Algorithm: Stack, Sorting
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Follow on Linkedin: https://www.linkedin.com/company/tech-dose
Please try the problem yourself and watch the video to learn the Algorithm ๐
Please SHARE this initiative with your friends as well ๐
#techdose #28DaysOfArray #interviewpreparation #arrays #dsa #MaxFreqLast6Months #google6
Car Fleet
#853
Algorithm: Stack, Sorting
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Follow on Linkedin: https://www.linkedin.com/company/tech-dose
Please try the problem yourself and watch the video to learn the Algorithm ๐
Please SHARE this initiative with your friends as well ๐
#techdose #28DaysOfArray #interviewpreparation #arrays #dsa #MaxFreqLast6Months #google6
LeetCode
Car Fleet - LeetCode
Can you solve this real interview question? Car Fleet - There are n cars at given miles away from the starting mile 0, traveling to reach the mile target.
You are given two integer arrays position and speed, both of length n, where position[i] is the startingโฆ
You are given two integer arrays position and speed, both of length n, where position[i] is the startingโฆ
Day-8
Car Fleet
#853
Algorithm: Stack, String
Solution: https://gist.github.com/lavakush-m-tiwari/5b0ad973da6033a20999ab1f2752cabb
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Follow on Linkedin: https://www.linkedin.com/company/tech-dose
Please try the problem yourself and watch the video to learn the Algorithm ๐
Please SHARE this initiative with your friends as well ๐
#techdose #28DaysOfArray #interviewpreparation #arrays #dsa #MaxFreqLast6Months #google6
Car Fleet
#853
Algorithm: Stack, String
Solution: https://gist.github.com/lavakush-m-tiwari/5b0ad973da6033a20999ab1f2752cabb
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Follow on Linkedin: https://www.linkedin.com/company/tech-dose
Please try the problem yourself and watch the video to learn the Algorithm ๐
Please SHARE this initiative with your friends as well ๐
#techdose #28DaysOfArray #interviewpreparation #arrays #dsa #MaxFreqLast6Months #google6
LeetCode
Car Fleet - LeetCode
Can you solve this real interview question? Car Fleet - There are n cars at given miles away from the starting mile 0, traveling to reach the mile target.
You are given two integer arrays position and speed, both of length n, where position[i] is the startingโฆ
You are given two integer arrays position and speed, both of length n, where position[i] is the startingโฆ
Day-9
Basic Calculator II
#227
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Follow on Linkedin: https://www.linkedin.com/company/tech-dose
Please try the problem yourself and watch the video to learn the Algorithm ๐
Please SHARE this initiative with your friends as well ๐
#techdose #28DaysOfArray #interviewpreparation #arrays #dsa #MaxFreqLast6Months #facebook104 #amazon18 #microsoft11 #uber2
Basic Calculator II
#227
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Follow on Linkedin: https://www.linkedin.com/company/tech-dose
Please try the problem yourself and watch the video to learn the Algorithm ๐
Please SHARE this initiative with your friends as well ๐
#techdose #28DaysOfArray #interviewpreparation #arrays #dsa #MaxFreqLast6Months #facebook104 #amazon18 #microsoft11 #uber2
LeetCode
Basic Calculator II - LeetCode
Can you solve this real interview question? Basic Calculator II - Given a string s which represents an expression, evaluate this expression and return its value.
The integer division should truncate toward zero.
You may assume that the given expressionโฆ
The integer division should truncate toward zero.
You may assume that the given expressionโฆ
Day-9 (Solution)
Basic Calculator II
#227
Algorithm: Stack
Solution: https://gist.github.com/lavakush-m-tiwari/0269815de6c072246c20fe907ee1dae7
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Follow on Linkedin: https://www.linkedin.com/company/tech-dose
Please try the problem yourself and watch the video to learn the Algorithm ๐
Please SHARE this initiative with your friends as well ๐
#techdose #28DaysOfArray #interviewpreparation #arrays #dsa #MaxFreqLast6Months #facebook104 #amazon18 #microsoft11 #uber2
Basic Calculator II
#227
Algorithm: Stack
Solution: https://gist.github.com/lavakush-m-tiwari/0269815de6c072246c20fe907ee1dae7
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Follow on Linkedin: https://www.linkedin.com/company/tech-dose
Please try the problem yourself and watch the video to learn the Algorithm ๐
Please SHARE this initiative with your friends as well ๐
#techdose #28DaysOfArray #interviewpreparation #arrays #dsa #MaxFreqLast6Months #facebook104 #amazon18 #microsoft11 #uber2
LeetCode
Basic Calculator II - LeetCode
Can you solve this real interview question? Basic Calculator II - Given a string s which represents an expression, evaluate this expression and return its value.
The integer division should truncate toward zero.
You may assume that the given expressionโฆ
The integer division should truncate toward zero.
You may assume that the given expressionโฆ
Day-10
Basic Calculator
#224
Algorithm: Stack, String
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Follow on Linkedin: https://www.linkedin.com/company/tech-dose
Please try the problem yourself and watch the video to learn the Algorithm ๐
Please SHARE this initiative with your friends as well ๐
#techdose #28DaysOfArray #interviewpreparation #arrays #dsa #MaxFreqLast6Months #facebook10 #amazon9 #microsoft7 #microsoft6 #uber5
Basic Calculator
#224
Algorithm: Stack, String
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Follow on Linkedin: https://www.linkedin.com/company/tech-dose
Please try the problem yourself and watch the video to learn the Algorithm ๐
Please SHARE this initiative with your friends as well ๐
#techdose #28DaysOfArray #interviewpreparation #arrays #dsa #MaxFreqLast6Months #facebook10 #amazon9 #microsoft7 #microsoft6 #uber5
LeetCode
Basic Calculator - LeetCode
Can you solve this real interview question? Basic Calculator - Given a string s representing a valid expression, implement a basic calculator to evaluate it, and return the result of the evaluation.
Note: You are not allowed to use any built-in functionโฆ
Note: You are not allowed to use any built-in functionโฆ
Day-10 (Solution)
Basic Calculator
#224
Algorithm: Stack, String
Solution: https://gist.github.com/lavakush-m-tiwari/2c6439fc299bd9674c0da5093d75c8d5
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Follow on Linkedin: https://www.linkedin.com/company/tech-dose
Please try the problem yourself and watch the video to learn the Algorithm ๐
Please SHARE this initiative with your friends as well ๐
#techdose #28DaysOfArray #interviewpreparation #arrays #dsa #MaxFreqLast6Months #facebook10 #amazon9 #microsoft7 #uber5
Basic Calculator
#224
Algorithm: Stack, String
Solution: https://gist.github.com/lavakush-m-tiwari/2c6439fc299bd9674c0da5093d75c8d5
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Follow on Linkedin: https://www.linkedin.com/company/tech-dose
Please try the problem yourself and watch the video to learn the Algorithm ๐
Please SHARE this initiative with your friends as well ๐
#techdose #28DaysOfArray #interviewpreparation #arrays #dsa #MaxFreqLast6Months #facebook10 #amazon9 #microsoft7 #uber5
LeetCode
Basic Calculator - LeetCode
Can you solve this real interview question? Basic Calculator - Given a string s representing a valid expression, implement a basic calculator to evaluate it, and return the result of the evaluation.
Note: You are not allowed to use any built-in functionโฆ
Note: You are not allowed to use any built-in functionโฆ
Day-11
Decode String
#394
Algorithm: Stack, String , String
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Follow on Linkedin: https://www.linkedin.com/company/tech-dose
Please try the problem yourself and watch the video to learn the Algorithm ๐
Please SHARE this initiative with your friends as well ๐
#techdose #28DaysOfArray #interviewpreparation #arrays #dsa #MaxFreqLast6Months #facebook8 #amazon11 #google20 #microsoft16 #uber3
Decode String
#394
Algorithm: Stack, String , String
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Follow on Linkedin: https://www.linkedin.com/company/tech-dose
Please try the problem yourself and watch the video to learn the Algorithm ๐
Please SHARE this initiative with your friends as well ๐
#techdose #28DaysOfArray #interviewpreparation #arrays #dsa #MaxFreqLast6Months #facebook8 #amazon11 #google20 #microsoft16 #uber3
LeetCode
Decode String - LeetCode
Can you solve this real interview question? Decode String - Given an encoded string, return its decoded string.
The encoding rule is: k[encoded_string], where the encoded_string inside the square brackets is being repeated exactly k times. Note that k isโฆ
The encoding rule is: k[encoded_string], where the encoded_string inside the square brackets is being repeated exactly k times. Note that k isโฆ
Day-11 (Solution)
Decode String
#394
Algorithm: Stack, String , String
Solution: https://gist.github.com/lavakush-m-tiwari/802eeb6bc381a2fb5a75574119686179
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Follow on Linkedin: https://www.linkedin.com/company/tech-dose
Please try the problem yourself and watch the video to learn the Algorithm ๐
Please SHARE this initiative with your friends as well ๐
#techdose #28DaysOfArray #interviewpreparation #arrays #dsa #MaxFreqLast6Months #facebook8 #amazon11 #google20 #microsoft16 #uber3
Decode String
#394
Algorithm: Stack, String , String
Solution: https://gist.github.com/lavakush-m-tiwari/802eeb6bc381a2fb5a75574119686179
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Follow on Linkedin: https://www.linkedin.com/company/tech-dose
Please try the problem yourself and watch the video to learn the Algorithm ๐
Please SHARE this initiative with your friends as well ๐
#techdose #28DaysOfArray #interviewpreparation #arrays #dsa #MaxFreqLast6Months #facebook8 #amazon11 #google20 #microsoft16 #uber3
LeetCode
Decode String - LeetCode
Can you solve this real interview question? Decode String - Given an encoded string, return its decoded string.
The encoding rule is: k[encoded_string], where the encoded_string inside the square brackets is being repeated exactly k times. Note that k isโฆ
The encoding rule is: k[encoded_string], where the encoded_string inside the square brackets is being repeated exactly k times. Note that k isโฆ
Day-12
Minimum Add to Make Parentheses Valid
#921
Algorithm: Stack, String, Greedy
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Follow on Linkedin: https://www.linkedin.com/company/tech-dose
Please try the problem yourself and watch the video to learn the Algorithm ๐
Please SHARE this initiative with your friends as well ๐
#techdose #28DaysOfArray #interviewpreparation #arrays #dsa #MaxFreqLast6Months #facebook108 #amazon2 #microsoft2
Minimum Add to Make Parentheses Valid
#921
Algorithm: Stack, String, Greedy
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Follow on Linkedin: https://www.linkedin.com/company/tech-dose
Please try the problem yourself and watch the video to learn the Algorithm ๐
Please SHARE this initiative with your friends as well ๐
#techdose #28DaysOfArray #interviewpreparation #arrays #dsa #MaxFreqLast6Months #facebook108 #amazon2 #microsoft2
LeetCode
Minimum Add to Make Parentheses Valid - LeetCode
Can you solve this real interview question? Minimum Add to Make Parentheses Valid - A parentheses string is valid if and only if:
* It is the empty string,
* It can be written as AB (A concatenated with B), where A and B are valid strings, or
* It canโฆ
* It is the empty string,
* It can be written as AB (A concatenated with B), where A and B are valid strings, or
* It canโฆ
Day-12 (Solution)
Minimum Add to Make Parentheses Valid
#921
Algorithm: Stack, String, Greedy
Solution:https://gist.github.com/lavakush-m-tiwari/6650c3ad786b363752e6bde98fa5564a
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Follow on Linkedin: https://www.linkedin.com/company/tech-dose
Please try the problem yourself and watch the video to learn the Algorithm ๐
Please SHARE this initiative with your friends as well ๐
#techdose #28DaysOfArray #interviewpreparation #arrays #dsa #MaxFreqLast6Months #facebook108 #amazon2 #microsoft2
Minimum Add to Make Parentheses Valid
#921
Algorithm: Stack, String, Greedy
Solution:https://gist.github.com/lavakush-m-tiwari/6650c3ad786b363752e6bde98fa5564a
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Follow on Linkedin: https://www.linkedin.com/company/tech-dose
Please try the problem yourself and watch the video to learn the Algorithm ๐
Please SHARE this initiative with your friends as well ๐
#techdose #28DaysOfArray #interviewpreparation #arrays #dsa #MaxFreqLast6Months #facebook108 #amazon2 #microsoft2
LeetCode
Minimum Add to Make Parentheses Valid - LeetCode
Can you solve this real interview question? Minimum Add to Make Parentheses Valid - A parentheses string is valid if and only if:
* It is the empty string,
* It can be written as AB (A concatenated with B), where A and B are valid strings, or
* It canโฆ
* It is the empty string,
* It can be written as AB (A concatenated with B), where A and B are valid strings, or
* It canโฆ
Day-13
Sum of Subarray Ranges
#2104
Algorithm: Stack
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Follow on Linkedin: https://www.linkedin.com/company/tech-dose
Please try the problem yourself and watch the video to learn the Algorithm ๐
Please SHARE this initiative with your friends as well ๐
#techdose #28DaysOfArray #interviewpreparation #arrays #dsa #MaxFreqLast6Months #amazon50
Sum of Subarray Ranges
#2104
Algorithm: Stack
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Follow on Linkedin: https://www.linkedin.com/company/tech-dose
Please try the problem yourself and watch the video to learn the Algorithm ๐
Please SHARE this initiative with your friends as well ๐
#techdose #28DaysOfArray #interviewpreparation #arrays #dsa #MaxFreqLast6Months #amazon50
LeetCode
Sum of Subarray Ranges - LeetCode
Can you solve this real interview question? Sum of Subarray Ranges - You are given an integer array nums. The range of a subarray of nums is the difference between the largest and smallest element in the subarray.
Return the sum of all subarray ranges ofโฆ
Return the sum of all subarray ranges ofโฆ