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-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-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-2
Delete Node in a Linked List
#237
Algorithm: linkedList
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 #amazon2 #microsoft3 #apple2
Delete Node in a Linked List
#237
Algorithm: linkedList
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 #amazon2 #microsoft3 #apple2
LeetCode
Delete Node in a Linked List - LeetCode
Can you solve this real interview question? Delete Node in a Linked List - There is a singly-linked list head and we want to delete a node node in it.
You are given the node to be deleted node. You will not be given access to the first node of head.
Allβ¦
You are given the node to be deleted node. You will not be given access to the first node of head.
Allβ¦
Day-2 (Solution)
Delete Node in a Linked List
#237
Algorithm: linkedList
Solution: https://gist.github.com/lavakush-m-tiwari/9543235d209163ce605e84bc9800be62
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 #amazon2 #microsoft3 #apple2
Delete Node in a Linked List
#237
Algorithm: linkedList
Solution: https://gist.github.com/lavakush-m-tiwari/9543235d209163ce605e84bc9800be62
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 #amazon2 #microsoft3 #apple2
LeetCode
Delete Node in a Linked List - LeetCode
Can you solve this real interview question? Delete Node in a Linked List - There is a singly-linked list head and we want to delete a node node in it.
You are given the node to be deleted node. You will not be given access to the first node of head.
Allβ¦
You are given the node to be deleted node. You will not be given access to the first node of head.
Allβ¦
Day-5
Reverse Linked List II
#92
Algorithm: linkedList
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 #amazon5 #microsoft3 #apple2 #facebook8 #google3
Reverse Linked List II
#92
Algorithm: linkedList
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 #amazon5 #microsoft3 #apple2 #facebook8 #google3
LeetCode
Reverse Linked List II - LeetCode
Can you solve this real interview question? Reverse Linked List II - Given the head of a singly linked list and two integers left and right where left <= right, reverse the nodes of the list from position left to position right, and return the reversed list.β¦
Day-5 (Solution)
Reverse Linked List II
#92
Algorithm: linkedList, two pointer
Solution: https://gist.github.com/lavakush-m-tiwari/6e735181779b6ec01e1339f163596630
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 #amazon5 #microsoft3 #apple2 #facebook8 #google3
Reverse Linked List II
#92
Algorithm: linkedList, two pointer
Solution: https://gist.github.com/lavakush-m-tiwari/6e735181779b6ec01e1339f163596630
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 #amazon5 #microsoft3 #apple2 #facebook8 #google3
LeetCode
Reverse Linked List II - LeetCode
Can you solve this real interview question? Reverse Linked List II - Given the head of a singly linked list and two integers left and right where left <= right, reverse the nodes of the list from position left to position right, and return the reversed list.β¦
Day-13
Rotate List
#61
Algorithm: LinkedList, two pointer
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 #amazon2 #microsoft3
Rotate List
#61
Algorithm: LinkedList, two pointer
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 #amazon2 #microsoft3
LeetCode
Rotate List - LeetCode
Can you solve this real interview question? Rotate List - Given the head of a linked list, rotate the list to the right by k places.
Example 1:
[https://assets.leetcode.com/uploads/2020/11/13/rotate1.jpg]
Input: head = [1,2,3,4,5], k = 2
Output: [4β¦
Example 1:
[https://assets.leetcode.com/uploads/2020/11/13/rotate1.jpg]
Input: head = [1,2,3,4,5], k = 2
Output: [4β¦
Day-13 (Solution)
Rotate List
#61
Algorithm: LinkedList, two pointer
Solution: https://gist.github.com/lavakush-m-tiwari/aa46ee10459e2d7daf5b8bb634cf9d88
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 #amazon2 #microsoft3
Rotate List
#61
Algorithm: LinkedList, two pointer
Solution: https://gist.github.com/lavakush-m-tiwari/aa46ee10459e2d7daf5b8bb634cf9d88
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 #amazon2 #microsoft3
LeetCode
Rotate List - LeetCode
Can you solve this real interview question? Rotate List - Given the head of a linked list, rotate the list to the right by k places.
Example 1:
[https://assets.leetcode.com/uploads/2020/11/13/rotate1.jpg]
Input: head = [1,2,3,4,5], k = 2
Output: [4β¦
Example 1:
[https://assets.leetcode.com/uploads/2020/11/13/rotate1.jpg]
Input: head = [1,2,3,4,5], k = 2
Output: [4β¦