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-12
Minimum Add to Make Parentheses Valid
#921
Algorithm: Stack, String, 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 #facebook108 #amazon2 #microsoft2
Minimum Add to Make Parentheses Valid
#921
Algorithm: Stack, String, 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 #facebook108 #amazon2 #microsoft2
LeetCode
Minimum Add to Make Parentheses Valid - LeetCode
Can you solve this real interview question? Minimum Add to Make Parentheses Valid - A parentheses string is valid if and only if:
* It is the empty string,
* It can be written as AB (A concatenated with B), where A and B are valid strings, or
* It canβ¦
* It is the empty string,
* It can be written as AB (A concatenated with B), where A and B are valid strings, or
* It canβ¦
Day-12 (Solution)
Minimum Add to Make Parentheses Valid
#921
Algorithm: Stack, String, Greedy
Solution:https://gist.github.com/lavakush-m-tiwari/6650c3ad786b363752e6bde98fa5564a
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 #facebook108 #amazon2 #microsoft2
Minimum Add to Make Parentheses Valid
#921
Algorithm: Stack, String, Greedy
Solution:https://gist.github.com/lavakush-m-tiwari/6650c3ad786b363752e6bde98fa5564a
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 #facebook108 #amazon2 #microsoft2
LeetCode
Minimum Add to Make Parentheses Valid - LeetCode
Can you solve this real interview question? Minimum Add to Make Parentheses Valid - A parentheses string is valid if and only if:
* It is the empty string,
* It can be written as AB (A concatenated with B), where A and B are valid strings, or
* It canβ¦
* It is the empty string,
* It can be written as AB (A concatenated with B), where A and B are valid strings, or
* It canβ¦
Day-14
Remove Duplicate Letters
#316
Algorithm: Stack, String
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 #apple3 #facebook4 #microsoft2
Remove Duplicate Letters
#316
Algorithm: Stack, String
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 #apple3 #facebook4 #microsoft2
Day-14 (Solution)
Remove Duplicate Letters
#316
Algorithm: Stack, String
Solution: https://gist.github.com/lavakush-m-tiwari/1d7f382049b97d46dde74db0fcb04c77
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 #apple3 #facebook4 #microsoft2
Remove Duplicate Letters
#316
Algorithm: Stack, String
Solution: https://gist.github.com/lavakush-m-tiwari/1d7f382049b97d46dde74db0fcb04c77
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 #apple3 #facebook4 #microsoft2
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-9
Partition List
#86
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 #microsoft2 #apple2
Partition List
#86
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 #microsoft2 #apple2
LeetCode
Partition List - LeetCode
Can you solve this real interview question? Partition List - Given the head of a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x.
You should preserve the original relative order of theβ¦
You should preserve the original relative order of theβ¦
Day-9 (Solution)
Partition List
#86
Algorithm: LinkedList, Two Pointer
Solution: https://gist.github.com/lavakush-m-tiwari/02fceae370cbbb8701671ac7ded27fcd
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 #microsoft2 #apple2
Partition List
#86
Algorithm: LinkedList, Two Pointer
Solution: https://gist.github.com/lavakush-m-tiwari/02fceae370cbbb8701671ac7ded27fcd
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 #microsoft2 #apple2
LeetCode
Partition List - LeetCode
Can you solve this real interview question? Partition List - Given the head of a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x.
You should preserve the original relative order of theβ¦
You should preserve the original relative order of theβ¦
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β¦