Day-22
Shortest Unsorted Continuous Subarray
Leetcode #581
Algorithm: two pointer, Greedy, 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 #facebook4 #amazon2 #microsoft3
Shortest Unsorted Continuous Subarray
Leetcode #581
Algorithm: two pointer, Greedy, 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 #facebook4 #amazon2 #microsoft3
LeetCode
Shortest Unsorted Continuous Subarray - LeetCode
Can you solve this real interview question? Shortest Unsorted Continuous Subarray - Given an integer array nums, you need to find one continuous subarray such that if you only sort this subarray in non-decreasing order, then the whole array will be sortedβ¦
Day-22(Solution)
Shortest Unsorted Continuous Subarray
Leetcode #581
Algorithm: two pointer, Greedy, Sorting
Solution: https://gist.github.com/lavakush-m-tiwari/32b0423cc25aeca27465859409d22824
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 #facebook4 #amazon2 #microsoft3
Shortest Unsorted Continuous Subarray
Leetcode #581
Algorithm: two pointer, Greedy, Sorting
Solution: https://gist.github.com/lavakush-m-tiwari/32b0423cc25aeca27465859409d22824
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 #facebook4 #amazon2 #microsoft3
LeetCode
Shortest Unsorted Continuous Subarray - LeetCode
Can you solve this real interview question? Shortest Unsorted Continuous Subarray - Given an integer array nums, you need to find one continuous subarray such that if you only sort this subarray in non-decreasing order, then the whole array will be sortedβ¦
Day-23
Rotate Array
Leetcode #189
Algorithm: two pointer, Math
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 #facebook5 #amazon10 #microsoft7 #google3 #apple3
Rotate Array
Leetcode #189
Algorithm: two pointer, Math
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 #facebook5 #amazon10 #microsoft7 #google3 #apple3
LeetCode
Rotate Array - LeetCode
Can you solve this real interview question? Rotate Array - Given an integer array nums, rotate the array to the right by k steps, where k is non-negative.
Example 1:
Input: nums = [1,2,3,4,5,6,7], k = 3
Output: [5,6,7,1,2,3,4]
Explanation:
rotate 1β¦
Example 1:
Input: nums = [1,2,3,4,5,6,7], k = 3
Output: [5,6,7,1,2,3,4]
Explanation:
rotate 1β¦
Day-23(Solution)
Rotate Array
Leetcode #581
Algorithm: two pointer, Math
Solution: https://gist.github.com/lavakush-m-tiwari/cff4aee4b1597d73aadbf202aac2907b
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 #facebook5 #amazon10 #microsoft7 #google3 #apple3
Rotate Array
Leetcode #581
Algorithm: two pointer, Math
Solution: https://gist.github.com/lavakush-m-tiwari/cff4aee4b1597d73aadbf202aac2907b
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 #facebook5 #amazon10 #microsoft7 #google3 #apple3
LeetCode
Rotate Array - LeetCode
Can you solve this real interview question? Rotate Array - Given an integer array nums, rotate the array to the right by k steps, where k is non-negative.
Example 1:
Input: nums = [1,2,3,4,5,6,7], k = 3
Output: [5,6,7,1,2,3,4]
Explanation:
rotate 1β¦
Example 1:
Input: nums = [1,2,3,4,5,6,7], k = 3
Output: [5,6,7,1,2,3,4]
Explanation:
rotate 1β¦
Day-24
Single Element in a Sorted Array
Leetcode #540
Algorithm: Binary Search
Related Video : https://www.youtube.com/watch?v=krgK0UlfNYY
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 #facebook7 #amazon10 #microsoft6 #google3
Single Element in a Sorted Array
Leetcode #540
Algorithm: Binary Search
Related Video : https://www.youtube.com/watch?v=krgK0UlfNYY
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 #facebook7 #amazon10 #microsoft6 #google3
LeetCode
Single Element in a Sorted Array - LeetCode
Can you solve this real interview question? Single Element in a Sorted Array - You are given a sorted array consisting of only integers where every element appears exactly twice, except for one element which appears exactly once.
Return the single elementβ¦
Return the single elementβ¦
Day-24(Solution):
Single Element in a Sorted Array
Leetcode #540
Algorithm: Binary Search
Solution: https://gist.github.com/lavakush-m-tiwari/5806075b49b5bf121bca7872b4d2d927
Related Video : https://www.youtube.com/watch?v=krgK0UlfNYY
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 #facebook7 #amazon10 #microsoft6 #google3
Single Element in a Sorted Array
Leetcode #540
Algorithm: Binary Search
Solution: https://gist.github.com/lavakush-m-tiwari/5806075b49b5bf121bca7872b4d2d927
Related Video : https://www.youtube.com/watch?v=krgK0UlfNYY
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 #facebook7 #amazon10 #microsoft6 #google3
LeetCode
Single Element in a Sorted Array - LeetCode
Can you solve this real interview question? Single Element in a Sorted Array - You are given a sorted array consisting of only integers where every element appears exactly twice, except for one element which appears exactly once.
Return the single elementβ¦
Return the single elementβ¦
Day-25
Find All Duplicates in an Array
Leetcode #442
Algorithm: HashTable
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 #adobe2 #amazon5#microsoft2 #google3
Find All Duplicates in an Array
Leetcode #442
Algorithm: HashTable
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 #adobe2 #amazon5#microsoft2 #google3
LeetCode
Find All Duplicates in an Array - LeetCode
Can you solve this real interview question? Find All Duplicates in an Array - Given an integer array nums of length n where all the integers of nums are in the range [1, n] and each integer appears at most twice, return an array of all the integers that appearsβ¦
Day-25(Solution):
Find All Duplicates in an Array
Leetcode #540
Algorithm: HashTable
Solution: https://gist.github.com/lavakush-m-tiwari/9b5df48120019aa713b0d19c00919c2e
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 #adobe2 #amazon5 #microsoft2 #google3
Find All Duplicates in an Array
Leetcode #540
Algorithm: HashTable
Solution: https://gist.github.com/lavakush-m-tiwari/9b5df48120019aa713b0d19c00919c2e
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 #adobe2 #amazon5 #microsoft2 #google3
LeetCode
Find All Duplicates in an Array - LeetCode
Can you solve this real interview question? Find All Duplicates in an Array - Given an integer array nums of length n where all the integers of nums are in the range [1, n] and each integer appears at most twice, return an array of all the integers that appearsβ¦
Day-26
Snapshot Array
Leetcode #1146
Algorithm: HashTable
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 #amazon3 #microsoft2 #google39
Snapshot Array
Leetcode #1146
Algorithm: HashTable
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 #amazon3 #microsoft2 #google39
LeetCode
Snapshot Array - LeetCode
Can you solve this real interview question? Snapshot Array - Implement a SnapshotArray that supports the following interface:
* SnapshotArray(int length) initializes an array-like data structure with the given length. Initially, each element equals 0.
β¦
* SnapshotArray(int length) initializes an array-like data structure with the given length. Initially, each element equals 0.
β¦
Hello everyone :)
Due to some unexpected events we missed some sessions.
Today we will start Stack and continue for this month.
Keep coding :)
Due to some unexpected events we missed some sessions.
Today we will start Stack and continue for this month.
Keep coding :)
Day-1
Valid Parentheses
Leetcode #20
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 #facebook21 #amazon35 #google3 #microsoft21 #linkedin34
Valid Parentheses
Leetcode #20
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 #facebook21 #amazon35 #google3 #microsoft21 #linkedin34
LeetCode
Valid Parentheses - LeetCode
Can you solve this real interview question? Valid Parentheses - Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.
An input string is valid if:
1. Open brackets must be closed by theβ¦
An input string is valid if:
1. Open brackets must be closed by theβ¦
Day-1(Solution)
Valid Parentheses
Leetcode #20
Algorithm: Stack
Solution: https://gist.github.com/lavakush-m-tiwari/8d0e927c70035628d3c6d6394c77bfd5
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 #facebook21 #amazon35 #google3 #microsoft21 #linkedin34
Valid Parentheses
Leetcode #20
Algorithm: Stack
Solution: https://gist.github.com/lavakush-m-tiwari/8d0e927c70035628d3c6d6394c77bfd5
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 #facebook21 #amazon35 #google3 #microsoft21 #linkedin34
LeetCode
Valid Parentheses - LeetCode
Can you solve this real interview question? Valid Parentheses - Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.
An input string is valid if:
1. Open brackets must be closed by theβ¦
An input string is valid if:
1. Open brackets must be closed by theβ¦
Day-2
Next Greater Element I
Leetcode #496
Algorithm: Stack, HashTable, Monotonic Stack
Related Video: https://www.youtube.com/watch?v=sDKpIO2HGq0
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 #facebook9 #amazon8 #microsoft2 #hotstar2
Next Greater Element I
Leetcode #496
Algorithm: Stack, HashTable, Monotonic Stack
Related Video: https://www.youtube.com/watch?v=sDKpIO2HGq0
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 #facebook9 #amazon8 #microsoft2 #hotstar2
LeetCode
Next Greater Element I - LeetCode
Can you solve this real interview question? Next Greater Element I - The next greater element of some element x in an array is the first greater element that is to the right of x in the same array.
You are given two distinct 0-indexed integer arrays nums1β¦
You are given two distinct 0-indexed integer arrays nums1β¦
Day-2(Solution)
Next Greater Element I
Leetcode #20
Algorithm: Stack
Solution: https://gist.github.com/lavakush-m-tiwari/ae64d96579eb57f3ffb09d11d5356b18
Related Video: https://www.youtube.com/watch?v=sDKpIO2HGq0
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 #facebook9 #amazon8 #microsoft2 #hotstar2
Next Greater Element I
Leetcode #20
Algorithm: Stack
Solution: https://gist.github.com/lavakush-m-tiwari/ae64d96579eb57f3ffb09d11d5356b18
Related Video: https://www.youtube.com/watch?v=sDKpIO2HGq0
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 #facebook9 #amazon8 #microsoft2 #hotstar2
LeetCode
Next Greater Element I - LeetCode
Can you solve this real interview question? Next Greater Element I - The next greater element of some element x in an array is the first greater element that is to the right of x in the same array.
You are given two distinct 0-indexed integer arrays nums1β¦
You are given two distinct 0-indexed integer arrays nums1β¦
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 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
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β¦
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β¦