Day-14
Split Linked List in Parts
#725
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 #apple2
Split Linked List in Parts
#725
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 #apple2
LeetCode
Split Linked List in Parts - LeetCode
Can you solve this real interview question? Split Linked List in Parts - Given the head of a singly linked list and an integer k, split the linked list into k consecutive linked list parts.
The length of each part should be as equal as possible: no two partsβ¦
The length of each part should be as equal as possible: no two partsβ¦
Day-14(Solution)
Split Linked List in Parts
#725
Algorithm: LinkedList, two pointer
Solution: https://gist.github.com/lavakush-m-tiwari/5941bf2649c0738d0d059b3d3e0d308b
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 #apple2
Split Linked List in Parts
#725
Algorithm: LinkedList, two pointer
Solution: https://gist.github.com/lavakush-m-tiwari/5941bf2649c0738d0d059b3d3e0d308b
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 #apple2
LeetCode
Split Linked List in Parts - LeetCode
Can you solve this real interview question? Split Linked List in Parts - Given the head of a singly linked list and an integer k, split the linked list into k consecutive linked list parts.
The length of each part should be as equal as possible: no two partsβ¦
The length of each part should be as equal as possible: no two partsβ¦
Day-15
Remove Duplicates from Sorted List II
#83
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 #amazon8 #apple2
Remove Duplicates from Sorted List II
#83
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 #amazon8 #apple2
LeetCode
Remove Duplicates from Sorted List II - LeetCode
Can you solve this real interview question? Remove Duplicates from Sorted List II - Given the head of a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list. Return the linked list sorted asβ¦
Day-15 (Solution)
Remove Duplicates from Sorted List II
#83
Algorithm: LinkedList, two pointer
Solution : https://gist.github.com/lavakush-m-tiwari/e843e910ecda1ad1decba061bf7acc9a
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 #amazon8 #apple2
Remove Duplicates from Sorted List II
#83
Algorithm: LinkedList, two pointer
Solution : https://gist.github.com/lavakush-m-tiwari/e843e910ecda1ad1decba061bf7acc9a
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 #amazon8 #apple2
LeetCode
Remove Duplicates from Sorted List II - LeetCode
Can you solve this real interview question? Remove Duplicates from Sorted List II - Given the head of a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list. Return the linked list sorted asβ¦
Day-16
Odd Even Linked List
Leetcode #328
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 #facebook6 #amazon4
Odd Even Linked List
Leetcode #328
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 #facebook6 #amazon4
LeetCode
Odd Even Linked List - LeetCode
Can you solve this real interview question? Odd Even Linked List - Given the head of a singly linked list, group all the nodes with odd indices together followed by the nodes with even indices, and return the reordered list.
The first node is consideredβ¦
The first node is consideredβ¦
Day-16 (Solution)
Odd Even Linked List
Leetcode #328
Algorithm: Binary Search, Divide and Conquer
Solution: https://gist.github.com/lavakush-m-tiwari/3a3d72bce0715986d89677ac36d2da09
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 #amazon4
Odd Even Linked List
Leetcode #328
Algorithm: Binary Search, Divide and Conquer
Solution: https://gist.github.com/lavakush-m-tiwari/3a3d72bce0715986d89677ac36d2da09
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 #amazon4
LeetCode
Odd Even Linked List - LeetCode
Can you solve this real interview question? Odd Even Linked List - Given the head of a singly linked list, group all the nodes with odd indices together followed by the nodes with even indices, and return the reordered list.
The first node is consideredβ¦
The first node is consideredβ¦
Day-17
Linked List Cycle II
#141
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 #amazon5 #microsoft2
Linked List Cycle II
#141
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 #amazon5 #microsoft2
LeetCode
Linked List Cycle II - LeetCode
Can you solve this real interview question? Linked List Cycle II - Given the head of a linked list, return the node where the cycle begins. If there is no cycle, return null.
There is a cycle in a linked list if there is some node in the list that can beβ¦
There is a cycle in a linked list if there is some node in the list that can beβ¦
Day-17 (Solution)
Linked List Cycle II
#141
Algorithm: LinkedList, two pointer
Solution: https://gist.github.com/lavakush-m-tiwari/50c5058e8740436d2e262d6e79cd6cea
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 #microsoft2
Linked List Cycle II
#141
Algorithm: LinkedList, two pointer
Solution: https://gist.github.com/lavakush-m-tiwari/50c5058e8740436d2e262d6e79cd6cea
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 #microsoft2
LeetCode
Linked List Cycle II - LeetCode
Can you solve this real interview question? Linked List Cycle II - Given the head of a linked list, return the node where the cycle begins. If there is no cycle, return null.
There is a cycle in a linked list if there is some node in the list that can beβ¦
There is a cycle in a linked list if there is some node in the list that can beβ¦
Day-18
Design Twitter
#355
Algorithm: LinkedList, hashtable, heap
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 #google2
Design Twitter
#355
Algorithm: LinkedList, hashtable, heap
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 #google2
LeetCode
Design Twitter - LeetCode
Can you solve this real interview question? Design Twitter - Design a simplified version of Twitter where users can post tweets, follow/unfollow another user, and is able to see the 10 most recent tweets in the user's news feed.
Implement the Twitter class:β¦
Implement the Twitter class:β¦
Day-18 (Solution)
Design Twitter
#355
Algorithm: LinkedList, hashtable, heap
Solution: https://gist.github.com/lavakush-m-tiwari/e4e83f88d7707bae316babf69496c81f
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 #google2
Design Twitter
#355
Algorithm: LinkedList, hashtable, heap
Solution: https://gist.github.com/lavakush-m-tiwari/e4e83f88d7707bae316babf69496c81f
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 #google2
LeetCode
Design Twitter - LeetCode
Can you solve this real interview question? Design Twitter - Design a simplified version of Twitter where users can post tweets, follow/unfollow another user, and is able to see the 10 most recent tweets in the user's news feed.
Implement the Twitter class:β¦
Implement the Twitter class:β¦
Day-19
Flatten a Multilevel Doubly Linked List
#430
Algorithm: LinkedList, doubly linked list, dfs
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 #facebook2 #google2
Flatten a Multilevel Doubly Linked List
#430
Algorithm: LinkedList, doubly linked list, dfs
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 #facebook2 #google2
LeetCode
Flatten a Multilevel Doubly Linked List - LeetCode
Can you solve this real interview question? Flatten a Multilevel Doubly Linked List - You are given a doubly linked list, which contains nodes that have a next pointer, a previous pointer, and an additional child pointer. This child pointer may or may notβ¦
Day-19 (Solution)
Flatten a Multilevel Doubly Linked List
#430
Algorithm: LinkedList, doubly linked list, dfs
Solution: https://gist.github.com/lavakush-m-tiwari/250f554982b47f60dde6a89dae56ee22
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 #facebook2 #google2
Flatten a Multilevel Doubly Linked List
#430
Algorithm: LinkedList, doubly linked list, dfs
Solution: https://gist.github.com/lavakush-m-tiwari/250f554982b47f60dde6a89dae56ee22
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 #facebook2 #google2
LeetCode
Flatten a Multilevel Doubly Linked List - LeetCode
Can you solve this real interview question? Flatten a Multilevel Doubly Linked List - You are given a doubly linked list, which contains nodes that have a next pointer, a previous pointer, and an additional child pointer. This child pointer may or may notβ¦
Day-20
All O`one Data Structure
#432
Algorithm: LinkedList, doubly linked list, desing Hashtable
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 #amazon3 #linkedin16
All O`one Data Structure
#432
Algorithm: LinkedList, doubly linked list, desing Hashtable
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 #amazon3 #linkedin16
LeetCode
All O`one Data Structure - LeetCode
Can you solve this real interview question? All O`one Data Structure - Design a data structure to store the strings' count with the ability to return the strings with minimum and maximum counts.
Implement the AllOne class:
* AllOne() Initializes the objectβ¦
Implement the AllOne class:
* AllOne() Initializes the objectβ¦