Day-6:
Merge Intervals
Leetcode #56
Algorithm: Sorting, Greedy
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 #amazon119 #microsoft27 #google18 #facebook90
Merge Intervals
Leetcode #56
Algorithm: Sorting, Greedy
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 #amazon119 #microsoft27 #google18 #facebook90
LeetCode
Merge Intervals - LeetCode
Can you solve this real interview question? Merge Intervals - Given an array of intervals where intervals[i] = [starti, endi], merge all overlapping intervals, and return an array of the non-overlapping intervals that cover all the intervals in the input.β¦
Day-6(Solution):
Merge Intervals
Leetcode #56
Algorithm: Sorting, Greedy
Solution: https://gist.github.com/lavakush-m-tiwari/d03acb4d50995283cab447198559184d
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 #amazon119 #microsoft27 #google18 #facebook90
Merge Intervals
Leetcode #56
Algorithm: Sorting, Greedy
Solution: https://gist.github.com/lavakush-m-tiwari/d03acb4d50995283cab447198559184d
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 #amazon119 #microsoft27 #google18 #facebook90
Day-7
Maximum Subarray
Leetcode #53
Algorithm: Divide and Conquer, Kadane's Algorithm
Related Video: https://www.youtube.com/watch?v=YxuK6A3SvTs
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 #google10 #amazon43 #microsoft12 #facebook8 #linkedin38 #apple17
Maximum Subarray
Leetcode #53
Algorithm: Divide and Conquer, Kadane's Algorithm
Related Video: https://www.youtube.com/watch?v=YxuK6A3SvTs
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 #google10 #amazon43 #microsoft12 #facebook8 #linkedin38 #apple17
Day-7 (Solution):
Maximum Subarray
Leetcode #53
Algorithm: Divide and Conquer, Kadane's Algorithm
Related Video: https://www.youtube.com/watch?v=YxuK6A3SvTs
Solution: https://gist.github.com/lavakush-m-tiwari/b7ad03bddd47b7c5cf70b2c691016109
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 #google10 #amazon43 #microsoft12 #facebook8 #linkedin38 #apple17
Maximum Subarray
Leetcode #53
Algorithm: Divide and Conquer, Kadane's Algorithm
Related Video: https://www.youtube.com/watch?v=YxuK6A3SvTs
Solution: https://gist.github.com/lavakush-m-tiwari/b7ad03bddd47b7c5cf70b2c691016109
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 #google10 #amazon43 #microsoft12 #facebook8 #linkedin38 #apple17
Day-8
Search Insert Position
Leetcode #35
Algorithm: Binary Search
Related Video: https://www.youtube.com/watch?v=0A40XJH_VvE
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 #amazon4 #apple5
Search Insert Position
Leetcode #35
Algorithm: Binary Search
Related Video: https://www.youtube.com/watch?v=0A40XJH_VvE
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 #amazon4 #apple5
Day-8(Solution):
Search Insert Position
Leetcode #55
Algorithm: Binary Search
Related Video: https://www.youtube.com/watch?v=0A40XJH_VvE
Solution: https://gist.github.com/lavakush-m-tiwari/8c9d94233c21d00b7dd945284d7cb081
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 #amazon4 #apple5
Search Insert Position
Leetcode #55
Algorithm: Binary Search
Related Video: https://www.youtube.com/watch?v=0A40XJH_VvE
Solution: https://gist.github.com/lavakush-m-tiwari/8c9d94233c21d00b7dd945284d7cb081
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 #amazon4 #apple5
Day-9
Least Number of Unique Integers after K Removals
Leetcode #1481
Algorithm: Hash Table, Counting, 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 #amazon13
Least Number of Unique Integers after K Removals
Leetcode #1481
Algorithm: Hash Table, Counting, 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 #amazon13
LeetCode
Least Number of Unique Integers after K Removals - LeetCode
Can you solve this real interview question? Least Number of Unique Integers after K Removals - Given an array of integers arr and an integer k. Find the least number of unique integers after removing exactly k elements.
Example 1:
Input: arr = [5,5β¦
Example 1:
Input: arr = [5,5β¦
Day-9(Solution):
Least Number of Unique Integers after K Removals
Leetcode #1481
Algorithm: Hash Table, Counting, Sorting
Solution: https://gist.github.com/lavakush-m-tiwari/ce5e5682f4370e12b330131185b1db2a
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 #amazon13
Least Number of Unique Integers after K Removals
Leetcode #1481
Algorithm: Hash Table, Counting, Sorting
Solution: https://gist.github.com/lavakush-m-tiwari/ce5e5682f4370e12b330131185b1db2a
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 #amazon13
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 <=β¦
DSA LIVE course starting on 19th February.
1. US Timezone (7 AM PST)
2. India TImezone (1:30 PM IST)
Whatsapp: +91 8918633037
DSA High Level Plan (Coursework)
β’ Time complexity analysis
β’ Math Algos
β’ Bit manipulation
β’ Array
β’ Stack
β’ Monotonic stack and patterns
β’ Queue
β’ Hash
β’ Heap
β’ String Algorithms
β’ Greedy Algo
β’ Linked List
β’ Backtracking
β’ Trees
β’ AVL
β’ Dynamic Programming
β’ Graph algorithms
β’ Trie
β’ Segment tree
β’ Reservoir Sampling
β’ Geometric Algorithms
β’ Convex Hull
Course Features:-
β’ Guarantees to maximize interview result in minimum time
β’ Guaranteed Understanding of Concepts
β’ Interview preparation in 3 months guaranteed
β’ Timing: Sat,Sun
β’ Assignment problems : 200+ handpicked problems most frequent interview problems across all DSA topics (All problems will be discussed in class after DSA topics)
β’ LIVE classes (with doubt clearing)
β’ All lectures are recorded
β’ Lecture validity: 1 year from start of class
1. US Timezone (7 AM PST)
2. India TImezone (1:30 PM IST)
Whatsapp: +91 8918633037
DSA High Level Plan (Coursework)
β’ Time complexity analysis
β’ Math Algos
β’ Bit manipulation
β’ Array
β’ Stack
β’ Monotonic stack and patterns
β’ Queue
β’ Hash
β’ Heap
β’ String Algorithms
β’ Greedy Algo
β’ Linked List
β’ Backtracking
β’ Trees
β’ AVL
β’ Dynamic Programming
β’ Graph algorithms
β’ Trie
β’ Segment tree
β’ Reservoir Sampling
β’ Geometric Algorithms
β’ Convex Hull
Course Features:-
β’ Guarantees to maximize interview result in minimum time
β’ Guaranteed Understanding of Concepts
β’ Interview preparation in 3 months guaranteed
β’ Timing: Sat,Sun
β’ Assignment problems : 200+ handpicked problems most frequent interview problems across all DSA topics (All problems will be discussed in class after DSA topics)
β’ LIVE classes (with doubt clearing)
β’ All lectures are recorded
β’ Lecture validity: 1 year from start of class
Day-10(Solution):
Search in Rotated Sorted Array
Leetcode #33
Algorithm: Binary Search
Solution: https://gist.github.com/lavakush-m-tiwari/3b08d42985eae721f2f10c41443d93cb
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 #amazon13
Search in Rotated Sorted Array
Leetcode #33
Algorithm: Binary Search
Solution: https://gist.github.com/lavakush-m-tiwari/3b08d42985eae721f2f10c41443d93cb
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 #amazon13
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-10
Bus Routes
Leetcode #815
Algorithm: Hash Table
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 #uber91 #amazon7 #google5
Bus Routes
Leetcode #815
Algorithm: Hash Table
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 #uber91 #amazon7 #google5
LeetCode
Bus Routes - LeetCode
Can you solve this real interview question? Bus Routes - You are given an array routes representing bus routes where routes[i] is a bus route that the ith bus repeats forever.
* For example, if routes[0] = [1, 5, 7], this means that the 0th bus travelsβ¦
* For example, if routes[0] = [1, 5, 7], this means that the 0th bus travelsβ¦
Day-10(Solution)
Bus Routes
Leetcode #815
Algorithm: Hash Table
Solution: https://gist.github.com/lavakush-m-tiwari/206c4edd6bace93e9c2e4c34c62c443f
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 #uber91 #amazon7 #google5
Bus Routes
Leetcode #815
Algorithm: Hash Table
Solution: https://gist.github.com/lavakush-m-tiwari/206c4edd6bace93e9c2e4c34c62c443f
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 #uber91 #amazon7 #google5
Day-11
Top K Frequent Elements
Leetcode #347
Algorithm: Hash Table, Divide and Conquer, Sorting, Counting, Bucket Sort, Quick Select
Related Video: https://www.youtube.com/watch?v=BP7GCALO2v8
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 #facebook84 #amazon21 #microsoft9 #google3
Top K Frequent Elements
Leetcode #347
Algorithm: Hash Table, Divide and Conquer, Sorting, Counting, Bucket Sort, Quick Select
Related Video: https://www.youtube.com/watch?v=BP7GCALO2v8
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 #facebook84 #amazon21 #microsoft9 #google3
LeetCode
Top K Frequent Elements - LeetCode
Can you solve this real interview question? Top K Frequent Elements - Given an integer array nums and an integer k, return the k most frequent elements. You may return the answer in any order.
Example 1:
Input: nums = [1,1,1,2,2,3], k = 2
Output: [1β¦
Example 1:
Input: nums = [1,1,1,2,2,3], k = 2
Output: [1β¦
Day-11(Solution):
Top K Frequent Elements
Leetcode #347
Algorithm: Hash Table, Divide and Conquer, Sorting, Counting, Bucket Sort, Quick Select
Solution: https://gist.github.com/lavakush-m-tiwari/ab6aa6b9c3104c5a6039caae8239c5e3
Related Video: https://www.youtube.com/watch?v=BP7GCALO2v8
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 #facebook84 #amazon21 #microsoft9 #google3
Top K Frequent Elements
Leetcode #347
Algorithm: Hash Table, Divide and Conquer, Sorting, Counting, Bucket Sort, Quick Select
Solution: https://gist.github.com/lavakush-m-tiwari/ab6aa6b9c3104c5a6039caae8239c5e3
Related Video: https://www.youtube.com/watch?v=BP7GCALO2v8
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 #facebook84 #amazon21 #microsoft9 #google3
Day-12
Median of Two Sorted Arrays
Leetcode #4
Algorithm: Binary Search, Divide and Conquer
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 #amazon35 #microsoft17 #google14 #facebook9 #apple7
Median of Two Sorted Arrays
Leetcode #4
Algorithm: Binary Search, Divide and Conquer
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 #amazon35 #microsoft17 #google14 #facebook9 #apple7
LeetCode
Median of Two Sorted Arrays - LeetCode
Can you solve this real interview question? Median of Two Sorted Arrays - Given two sorted arrays nums1 and nums2 of size m and n respectively, return the median of the two sorted arrays.
The overall run time complexity should be O(log (m+n)).
Exampleβ¦
The overall run time complexity should be O(log (m+n)).
Exampleβ¦
Day-12(Solution)
Median of Two Sorted Arrays
Leetcode #4
Algorithm: Binary Search, Divide and Conquer
Solution: https://gist.github.com/lavakush-m-tiwari/0830f1decabace8bb8c4ab2eb81729e4
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 #amazon35 #microsoft17 #google14 #facebook9 #apple7
Median of Two Sorted Arrays
Leetcode #4
Algorithm: Binary Search, Divide and Conquer
Solution: https://gist.github.com/lavakush-m-tiwari/0830f1decabace8bb8c4ab2eb81729e4
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 #amazon35 #microsoft17 #google14 #facebook9 #apple7
LeetCode
Median of Two Sorted Arrays - LeetCode
Can you solve this real interview question? Median of Two Sorted Arrays - Given two sorted arrays nums1 and nums2 of size m and n respectively, return the median of the two sorted arrays.
The overall run time complexity should be O(log (m+n)).
Exampleβ¦
The overall run time complexity should be O(log (m+n)).
Exampleβ¦
Day-13
Subarray Sum Equals K
Leetcode #560
Algorithm: Binary Search, Divide and Conquer
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
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-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β¦