Day-13(Solution):
Subarray Sum Equals K
Leetcode #560
Algorithm: Binary Search, Divide and Conquer
Solution: https://gist.github.com/lavakush-m-tiwari/f842ac136b45619e9b2d8fb09a41b44f
Related Video: https://www.youtube.com/watch?v=HbbYPQc-Oo4
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 #facebook157 #amazon18 #google9 #microsoft9
Subarray Sum Equals K
Leetcode #560
Algorithm: Binary Search, Divide and Conquer
Solution: https://gist.github.com/lavakush-m-tiwari/f842ac136b45619e9b2d8fb09a41b44f
Related Video: https://www.youtube.com/watch?v=HbbYPQc-Oo4
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 #facebook157 #amazon18 #google9 #microsoft9
LeetCode
Subarray Sum Equals K - LeetCode
Can you solve this real interview question? Subarray Sum Equals K - Given an array of integers nums and an integer k, return the total number of subarrays whose sum equals to k.
A subarray is a contiguous non-empty sequence of elements within an array.
β¦
A subarray is a contiguous non-empty sequence of elements within an array.
β¦
Day-14
Insert Delete GetRandom O(1)
Leetcode #380
Algorithm: Hash Table, Design, Randomized
Related Video: https://www.youtube.com/watch?v=WtkwD7ikxfg
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 #facebook15 #amazon18 #google8 #microsoft11 #linkedin12
Insert Delete GetRandom O(1)
Leetcode #380
Algorithm: Hash Table, Design, Randomized
Related Video: https://www.youtube.com/watch?v=WtkwD7ikxfg
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 #facebook15 #amazon18 #google8 #microsoft11 #linkedin12
LeetCode
Insert Delete GetRandom O(1) - LeetCode
Can you solve this real interview question? Insert Delete GetRandom O(1) - Implement the RandomizedSet class:
* RandomizedSet() Initializes the RandomizedSet object.
* bool insert(int val) Inserts an item val into the set if not present. Returns true ifβ¦
* RandomizedSet() Initializes the RandomizedSet object.
* bool insert(int val) Inserts an item val into the set if not present. Returns true ifβ¦
Day-14(Solution):
Insert Delete GetRandom O(1)
Leetcode #380
Algorithm: Binary Search, Divide and Conquer
Solution: https://gist.github.com/lavakush-m-tiwari/090b61231d5b6ad12f88d6c40e57afaa
Related Video: https://www.youtube.com/watch?v=WtkwD7ikxfg
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 #facebook15 #amazon18 #google8 #microsoft11 #linkedin12
Insert Delete GetRandom O(1)
Leetcode #380
Algorithm: Binary Search, Divide and Conquer
Solution: https://gist.github.com/lavakush-m-tiwari/090b61231d5b6ad12f88d6c40e57afaa
Related Video: https://www.youtube.com/watch?v=WtkwD7ikxfg
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 #facebook15 #amazon18 #google8 #microsoft11 #linkedin12
LeetCode
Insert Delete GetRandom O(1) - LeetCode
Can you solve this real interview question? Insert Delete GetRandom O(1) - Implement the RandomizedSet class:
* RandomizedSet() Initializes the RandomizedSet object.
* bool insert(int val) Inserts an item val into the set if not present. Returns true ifβ¦
* RandomizedSet() Initializes the RandomizedSet object.
* bool insert(int val) Inserts an item val into the set if not present. Returns true ifβ¦
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-16
Contains Duplicate
Leetcode #217
Algorithm: Hash Table, 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 #facebook3 #amazon19 #google8 #microsoft4 #uber2 #apple2
Contains Duplicate
Leetcode #217
Algorithm: Hash Table, 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 #facebook3 #amazon19 #google8 #microsoft4 #uber2 #apple2
LeetCode
Contains Duplicate - LeetCode
Can you solve this real interview question? Contains Duplicate - Given an integer array nums, return true if any value appears at least twice in the array, and return false if every element is distinct.
Example 1:
Input: nums = [1,2,3,1]
Output: trueβ¦
Example 1:
Input: nums = [1,2,3,1]
Output: trueβ¦
Day-16(Soultion)
Contains Duplicate
Leetcode #217
Algorithm: Hash Table, Sorting
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Solution: https://gist.github.com/lavakush-m-tiwari/c32c703efd24113d8d2948731d562c91
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 #facebook3 #amazon19 #google8 #microsoft4 #uber2 #apple2
Contains Duplicate
Leetcode #217
Algorithm: Hash Table, Sorting
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Solution: https://gist.github.com/lavakush-m-tiwari/c32c703efd24113d8d2948731d562c91
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 #facebook3 #amazon19 #google8 #microsoft4 #uber2 #apple2
LeetCode
Contains Duplicate - LeetCode
Can you solve this real interview question? Contains Duplicate - Given an integer array nums, return true if any value appears at least twice in the array, and return false if every element is distinct.
Example 1:
Input: nums = [1,2,3,1]
Output: trueβ¦
Example 1:
Input: nums = [1,2,3,1]
Output: trueβ¦
Day-17
Can Place Flowers
Leetcode #605
Algorithm: 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 #facebook15 #amazon4 #linkedin25
Can Place Flowers
Leetcode #605
Algorithm: 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 #facebook15 #amazon4 #linkedin25
LeetCode
Can Place Flowers - LeetCode
Can you solve this real interview question? Can Place Flowers - You have a long flowerbed in which some of the plots are planted, and some are not. However, flowers cannot be planted in adjacent plots.
Given an integer array flowerbed containing 0's andβ¦
Given an integer array flowerbed containing 0's andβ¦
Day-17(Solution):
Can Place Flowers
Leetcode #605
Algorithm: Greedy
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Solution: https://gist.github.com/lavakush-m-tiwari/87980d78a47beb99a36982971a91cf39
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 #facebook15 #amazon4 #linkedin25
Can Place Flowers
Leetcode #605
Algorithm: Greedy
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Solution: https://gist.github.com/lavakush-m-tiwari/87980d78a47beb99a36982971a91cf39
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 #facebook15 #amazon4 #linkedin25
LeetCode
Can Place Flowers - LeetCode
Can you solve this real interview question? Can Place Flowers - You have a long flowerbed in which some of the plots are planted, and some are not. However, flowers cannot be planted in adjacent plots.
Given an integer array flowerbed containing 0's andβ¦
Given an integer array flowerbed containing 0's andβ¦
Day-18
Find First and Last Position of Element in Sorted Array
Leetcode #34
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 #facebook33 #amazon4 #uber3 #google11 #microsoft9
Find First and Last Position of Element in Sorted Array
Leetcode #34
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 #facebook33 #amazon4 #uber3 #google11 #microsoft9
LeetCode
Find First and Last Position of Element in Sorted Array - LeetCode
Can you solve this real interview question? Find First and Last Position of Element in Sorted Array - Given an array of integers nums sorted in non-decreasing order, find the starting and ending position of a given target value.
If target is not found inβ¦
If target is not found inβ¦
Day-18(Solution)
Find First and Last Position of Element in Sorted Array
Leetcode #34
Algorithm: Binary Search
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Solution: https://gist.github.com/lavakush-m-tiwari/4ae8ce315749b300b0765ff0081d3022
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 #facebook33 #amazon4 #uber3 #google11 #microsoft9
Find First and Last Position of Element in Sorted Array
Leetcode #34
Algorithm: Binary Search
Subscribe our Channel : https://www.youtube.com/c/TECHDOSE4u
Solution: https://gist.github.com/lavakush-m-tiwari/4ae8ce315749b300b0765ff0081d3022
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 #facebook33 #amazon4 #uber3 #google11 #microsoft9
LeetCode
Find First and Last Position of Element in Sorted Array - LeetCode
Can you solve this real interview question? Find First and Last Position of Element in Sorted Array - Given an array of integers nums sorted in non-decreasing order, find the starting and ending position of a given target value.
If target is not found inβ¦
If target is not found inβ¦
Day-19
Next Permutation
Leetcode #31
Algorithm: Two Pointer
Related Video: https://www.youtube.com/watch?v=6qXO72FkqwM
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 #facebook101 #amazon14 #microsoft7
Next Permutation
Leetcode #31
Algorithm: Two Pointer
Related Video: https://www.youtube.com/watch?v=6qXO72FkqwM
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 #facebook101 #amazon14 #microsoft7
LeetCode
Next Permutation - LeetCode
Can you solve this real interview question? Next Permutation - A permutation of an array of integers is an arrangement of its members into a sequence or linear order.
* For example, for arr = [1,2,3], the following are all the permutations of arr: [1,2β¦
* For example, for arr = [1,2,3], the following are all the permutations of arr: [1,2β¦
Day-19 (Solution)
Next Permutation
Leetcode #31
Algorithm: Two Pointer
Solution: https://gist.github.com/lavakush-m-tiwari/176829d915c7b06adf6ef2e65f008419
Related Video: https://www.youtube.com/watch?v=6qXO72FkqwM
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 #facebook101 #amazon14 #microsoft7
Next Permutation
Leetcode #31
Algorithm: Two Pointer
Solution: https://gist.github.com/lavakush-m-tiwari/176829d915c7b06adf6ef2e65f008419
Related Video: https://www.youtube.com/watch?v=6qXO72FkqwM
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 #facebook101 #amazon14 #microsoft7
LeetCode
Next Permutation - LeetCode
Can you solve this real interview question? Next Permutation - A permutation of an array of integers is an arrangement of its members into a sequence or linear order.
* For example, for arr = [1,2,3], the following are all the permutations of arr: [1,2β¦
* For example, for arr = [1,2,3], the following are all the permutations of arr: [1,2β¦
Day-20
Koko Eating Bananas
Leetcode #875
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 #amazon3 #apple2
Koko Eating Bananas
Leetcode #875
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 #amazon3 #apple2
LeetCode
Koko Eating Bananas - LeetCode
Can you solve this real interview question? Koko Eating Bananas - Koko loves to eat bananas. There are n piles of bananas, the ith pile has piles[i] bananas. The guards have gone and will come back in h hours.
Koko can decide her bananas-per-hour eatingβ¦
Koko can decide her bananas-per-hour eatingβ¦
Day-20(Solution)
Koko Eating Bananas
Leetcode #875
Algorithm: Binary Search
Solution: https://gist.github.com/lavakush-m-tiwari/d64b9c261f71b6bba37749ac972f4b37
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 #amazon3 #apple2
Koko Eating Bananas
Leetcode #875
Algorithm: Binary Search
Solution: https://gist.github.com/lavakush-m-tiwari/d64b9c261f71b6bba37749ac972f4b37
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 #amazon3 #apple2
LeetCode
Koko Eating Bananas - LeetCode
Can you solve this real interview question? Koko Eating Bananas - Koko loves to eat bananas. There are n piles of bananas, the ith pile has piles[i] bananas. The guards have gone and will come back in h hours.
Koko can decide her bananas-per-hour eatingβ¦
Koko can decide her bananas-per-hour eatingβ¦
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-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β¦