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-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β¦
Day-23(Solution)
Rotate Array
Leetcode #581
Algorithm: two pointer, Math
Solution: https://gist.github.com/lavakush-m-tiwari/cff4aee4b1597d73aadbf202aac2907b
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 #581
Algorithm: two pointer, Math
Solution: https://gist.github.com/lavakush-m-tiwari/cff4aee4b1597d73aadbf202aac2907b
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β¦
Day-4
First Unique Character in a String
Leetcode #387
Algorithm: Stack
Related Video: https://www.youtube.com/watch?v=KnWqCfIfHX0
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 #facebook12 #amazon38 #google4 #microsoft7 #apple6
First Unique Character in a String
Leetcode #387
Algorithm: Stack
Related Video: https://www.youtube.com/watch?v=KnWqCfIfHX0
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 #facebook12 #amazon38 #google4 #microsoft7 #apple6
LeetCode
First Unique Character in a String - LeetCode
Can you solve this real interview question? First Unique Character in a String - Given a string s, find the first non-repeating character in it and return its index. If it does not exist, return -1.
Example 1:
Input: s = "leetcode"
Output: 0
Explanation:β¦
Example 1:
Input: s = "leetcode"
Output: 0
Explanation:β¦
Day-4 (Solution)
First Unique Character in a String
Leetcode #387
Algorithm: Stack
Solution: https://gist.github.com/lavakush-m-tiwari/137cfbe73d678c860e216487cbfb12f2
Related Video: https://www.youtube.com/watch?v=KnWqCfIfHX0
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 #facebook12 #amazon38 #google4 #microsoft7 #apple6
First Unique Character in a String
Leetcode #387
Algorithm: Stack
Solution: https://gist.github.com/lavakush-m-tiwari/137cfbe73d678c860e216487cbfb12f2
Related Video: https://www.youtube.com/watch?v=KnWqCfIfHX0
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 #facebook12 #amazon38 #google4 #microsoft7 #apple6
LeetCode
First Unique Character in a String - LeetCode
Can you solve this real interview question? First Unique Character in a String - Given a string s, find the first non-repeating character in it and return its index. If it does not exist, return -1.
Example 1:
Input: s = "leetcode"
Output: 0
Explanation:β¦
Example 1:
Input: s = "leetcode"
Output: 0
Explanation:β¦
Day-10
Basic Calculator
#224
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 #facebook10 #amazon9 #microsoft7 #microsoft6 #uber5
Basic Calculator
#224
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 #facebook10 #amazon9 #microsoft7 #microsoft6 #uber5
LeetCode
Basic Calculator - LeetCode
Can you solve this real interview question? Basic Calculator - Given a string s representing a valid expression, implement a basic calculator to evaluate it, and return the result of the evaluation.
Note: You are not allowed to use any built-in functionβ¦
Note: You are not allowed to use any built-in functionβ¦
Day-10 (Solution)
Basic Calculator
#224
Algorithm: Stack, String
Solution: https://gist.github.com/lavakush-m-tiwari/2c6439fc299bd9674c0da5093d75c8d5
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 #facebook10 #amazon9 #microsoft7 #uber5
Basic Calculator
#224
Algorithm: Stack, String
Solution: https://gist.github.com/lavakush-m-tiwari/2c6439fc299bd9674c0da5093d75c8d5
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 #facebook10 #amazon9 #microsoft7 #uber5
LeetCode
Basic Calculator - LeetCode
Can you solve this real interview question? Basic Calculator - Given a string s representing a valid expression, implement a basic calculator to evaluate it, and return the result of the evaluation.
Note: You are not allowed to use any built-in functionβ¦
Note: You are not allowed to use any built-in functionβ¦
Day-4
Remove Nth Node From End of List
#19
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 #amazon9 #microsoft7#apple2 #facebook18 #google5
Remove Nth Node From End of List
#19
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 #amazon9 #microsoft7#apple2 #facebook18 #google5
LeetCode
Remove Nth Node From End of List - LeetCode
Can you solve this real interview question? Remove Nth Node From End of List - Given the head of a linked list, remove the nth node from the end of the list and return its head.
Example 1:
[https://assets.leetcode.com/uploads/2020/10/03/remove_ex1.jpg]β¦
Example 1:
[https://assets.leetcode.com/uploads/2020/10/03/remove_ex1.jpg]β¦
Day-4 (Solution)
Remove Nth Node From End of List
#19
Algorithm: linkedList, two pointer
Solution: https://gist.github.com/lavakush-m-tiwari/4993f2214140fb9177281f482d30905a
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 #amazon9 #microsoft7 #apple2 #facebook18 #google5
Remove Nth Node From End of List
#19
Algorithm: linkedList, two pointer
Solution: https://gist.github.com/lavakush-m-tiwari/4993f2214140fb9177281f482d30905a
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 #amazon9 #microsoft7 #apple2 #facebook18 #google5
LeetCode
Remove Nth Node From End of List - LeetCode
Can you solve this real interview question? Remove Nth Node From End of List - Given the head of a linked list, remove the nth node from the end of the list and return its head.
Example 1:
[https://assets.leetcode.com/uploads/2020/10/03/remove_ex1.jpg]β¦
Example 1:
[https://assets.leetcode.com/uploads/2020/10/03/remove_ex1.jpg]β¦
Day-7
Swap Nodes in Pairs
#24
Algorithm: LinkedList, Recursion
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 #amazon7 #microsoft7 #apple2 #facebook10
Swap Nodes in Pairs
#24
Algorithm: LinkedList, Recursion
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 #amazon7 #microsoft7 #apple2 #facebook10
LeetCode
Swap Nodes in Pairs - LeetCode
Can you solve this real interview question? Swap Nodes in Pairs - Given a linked list, swap every two adjacent nodes and return its head. You must solve the problem without modifying the values in the list's nodes (i.e., only nodes themselves may be changed.)β¦
Day-7 (Solution)
Swap Nodes in Pairs
#24
Algorithm: LinkedList, Recursion
Solution: https://gist.github.com/lavakush-m-tiwari/5d9107cdedff9cbd8b38c305439353ee
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 #amazon7 #microsoft7 #apple2 #facebook10
Swap Nodes in Pairs
#24
Algorithm: LinkedList, Recursion
Solution: https://gist.github.com/lavakush-m-tiwari/5d9107cdedff9cbd8b38c305439353ee
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 #amazon7 #microsoft7 #apple2 #facebook10
LeetCode
Swap Nodes in Pairs - LeetCode
Can you solve this real interview question? Swap Nodes in Pairs - Given a linked list, swap every two adjacent nodes and return its head. You must solve the problem without modifying the values in the list's nodes (i.e., only nodes themselves may be changed.)β¦