Techdose
Day-3 Min Stack Leetcode #155 Algorithm: Stack Related Video: https://www.youtube.com/watch?v=gd9xEAnxXzc Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u Follow on Linkedin: https://www.linkedin.com/company/tech-dose Please try the problem…
Day-3(Solution)
Min Stack
Leetcode #155
Algorithm: Stack
Solution: https://gist.github.com/lavakush-m-tiwari/80c83568dd4f877f3650a266aa7ad92f
Related Video: https://www.youtube.com/watch?v=gd9xEAnxXzc
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 #facebook6 #amazon21 #google4 #microsoft6 #apple2
Min Stack
Leetcode #155
Algorithm: Stack
Solution: https://gist.github.com/lavakush-m-tiwari/80c83568dd4f877f3650a266aa7ad92f
Related Video: https://www.youtube.com/watch?v=gd9xEAnxXzc
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 #facebook6 #amazon21 #google4 #microsoft6 #apple2
LeetCode
Min Stack - LeetCode
Can you solve this real interview question? Min Stack - Design a stack that supports push, pop, top, and retrieving the minimum element in constant time.
Implement the MinStack class:
* MinStack() initializes the stack object.
* void push(int val) pushes…
Implement the MinStack class:
* MinStack() initializes the stack object.
* void push(int val) pushes…
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…