Day-2:
3Sum Closest
Leetcode #16
Algorithm: Two pointer, Sorting
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 #amazon10 #microsoft3 #google4 #facebook23
3Sum Closest
Leetcode #16
Algorithm: Two pointer, Sorting
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 #amazon10 #microsoft3 #google4 #facebook23
LeetCode
3Sum Closest - LeetCode
Can you solve this real interview question? 3Sum Closest - Given an integer array nums of length n and an integer target, find three integers in nums such that the sum is closest to target.
Return the sum of the three integers.
You may assume that eachβ¦
Return the sum of the three integers.
You may assume that eachβ¦
Day-2(Solution):
3Sum Closest
Leetcode #16
Algorithm: Two pointer, Sorting
Solution Code :
https://gist.github.com/lavakush-m-tiwari/64a71c847ccbd9560b20a0f862187f49
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 #amazon10 #microsoft3 #google4 #facebook23
3Sum Closest
Leetcode #16
Algorithm: Two pointer, Sorting
Solution Code :
https://gist.github.com/lavakush-m-tiwari/64a71c847ccbd9560b20a0f862187f49
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 #amazon10 #microsoft3 #google4 #facebook23
Day-3:
Find the Duplicate Number
Leetcode #287
Algorithm: Two pointer, bit manipulation, Binary Search
Related Video: https://www.youtube.com/watch?v=dfIqLxAf-8s&ab_channel=TECHDOSE
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 #amazon8 #microsoft5 #google4 #facebook3
Find the Duplicate Number
Leetcode #287
Algorithm: Two pointer, bit manipulation, Binary Search
Related Video: https://www.youtube.com/watch?v=dfIqLxAf-8s&ab_channel=TECHDOSE
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 #amazon8 #microsoft5 #google4 #facebook3
LeetCode
Find the Duplicate Number - LeetCode
Can you solve this real interview question? Find the Duplicate Number - Given an array of integers nums containing n + 1 integers where each integer is in the range [1, n] inclusive.
There is only one repeated number in nums, return this repeated number.β¦
There is only one repeated number in nums, return this repeated number.β¦
Day-3(Solution):
Find the Duplicate Number
Leetcode #287
Algorithm: Two pointer, bit manipulation, Binary Search
Related Video: https://www.youtube.com/watch?v=dfIqLxAf-8s&ab_channel=TECHDOSE
Solution: https://gist.github.com/lavakush-m-tiwari/627c6270f1095bbbf005a2f83d8b00ad
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 #amazon8 #microsoft5 #google4 #facebook3
Find the Duplicate Number
Leetcode #287
Algorithm: Two pointer, bit manipulation, Binary Search
Related Video: https://www.youtube.com/watch?v=dfIqLxAf-8s&ab_channel=TECHDOSE
Solution: https://gist.github.com/lavakush-m-tiwari/627c6270f1095bbbf005a2f83d8b00ad
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 #amazon8 #microsoft5 #google4 #facebook3
Day-10
Search in Rotated Sorted Array
Leetcode #33
Algorithm: Binary Search
Related Video: https://www.youtube.com/watch?v=oTfPJKGEHcc
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 #amazon23 #facebook25 #microsoft26 #linkedin22 #google4
Search in Rotated Sorted Array
Leetcode #33
Algorithm: Binary Search
Related Video: https://www.youtube.com/watch?v=oTfPJKGEHcc
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 #amazon23 #facebook25 #microsoft26 #linkedin22 #google4
LeetCode
Search in Rotated Sorted Array - LeetCode
Can you solve this real interview question? Search in Rotated Sorted Array - There is an integer array nums sorted in ascending order (with distinct values).
Prior to being passed to your function, nums is possibly left rotated at an unknown index k (1 <=β¦
Prior to being passed to your function, nums is possibly left rotated at an unknown index k (1 <=β¦
Day-15
Find Peak Element
Leetcode #162
Algorithm: Binary Search
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 #facebook71 #amazon9 #google4 #microsoft4 #uber5
Find Peak Element
Leetcode #162
Algorithm: Binary Search
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 #facebook71 #amazon9 #google4 #microsoft4 #uber5
LeetCode
Find Peak Element - LeetCode
Can you solve this real interview question? Find Peak Element - A peak element is an element that is strictly greater than its neighbors.
Given a 0-indexed integer array nums, find a peak element, and return its index. If the array contains multiple peaksβ¦
Given a 0-indexed integer array nums, find a peak element, and return its index. If the array contains multiple peaksβ¦
Day-15(Solution):
Find Peak Element
Leetcode #162
Algorithm: Binary Search
Solution: https://gist.github.com/lavakush-m-tiwari/f74ef2082e34055d2a04cbd0f06c26aa
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 #facebook71 #amazon9 #google4 #microsoft4 #uber5
Find Peak Element
Leetcode #162
Algorithm: Binary Search
Solution: https://gist.github.com/lavakush-m-tiwari/f74ef2082e34055d2a04cbd0f06c26aa
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 #facebook71 #amazon9 #google4 #microsoft4 #uber5
LeetCode
Find Peak Element - LeetCode
Can you solve this real interview question? Find Peak Element - A peak element is an element that is strictly greater than its neighbors.
Given a 0-indexed integer array nums, find a peak element, and return its index. If the array contains multiple peaksβ¦
Given a 0-indexed integer array nums, find a peak element, and return its index. If the array contains multiple peaksβ¦
Day-21
Two Sum II - Input Array Is Sorted
Leetcode #167
Algorithm: Binary Search
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 #amazon8 #google4 #microsoft3 #apple3
Two Sum II - Input Array Is Sorted
Leetcode #167
Algorithm: Binary Search
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 #amazon8 #google4 #microsoft3 #apple3
LeetCode
Two Sum II - Input Array Is Sorted - LeetCode
Can you solve this real interview question? Two Sum II - Input Array Is Sorted - Given a 1-indexed array of integers numbers that is already sorted in non-decreasing order, find two numbers such that they add up to a specific target number. Let these twoβ¦
Day-21(Solution):
Two Sum II - Input Array Is Sorted
Leetcode #167
Algorithm: Binary Search
Solution: https://gist.github.com/lavakush-m-tiwari/9ddd65ddf2902ff10a5f25d078e5afac
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 #amazon8 #google4 #microsoft3 #apple3
Two Sum II - Input Array Is Sorted
Leetcode #167
Algorithm: Binary Search
Solution: https://gist.github.com/lavakush-m-tiwari/9ddd65ddf2902ff10a5f25d078e5afac
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 #amazon8 #google4 #microsoft3 #apple3
LeetCode
Two Sum II - Input Array Is Sorted - LeetCode
Can you solve this real interview question? Two Sum II - Input Array Is Sorted - Given a 1-indexed array of integers numbers that is already sorted in non-decreasing order, find two numbers such that they add up to a specific target number. Let these twoβ¦
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:β¦