Day 14/45 of #SDESheetChallenge , solved the given 3 problems
1. Trapping Rainwater
2. Remove Duplicates
3. Maximum consecutive 1's
Trapping rainwater was good, we came to day 15 and felt like started yesterday only @striver_79@takeUforward_#DSA#cpp
Day 27 of my Leetcode streak, solved Today's POTD 2130. Maximum Twin Sum of a Linked List, I realised hashmaps are so important for LInked List, now LL is getting quite easy :)
#DSA#cpp#LeetCode#consitency
Day 12/45 of #SDESheetChallenge, solved the given problems and yeah, LL is now feeling good :)
1. Check if LL is palindrome
2. Find the starting point in LL
3. Flattening of LL (took a while to solve it)
@striver_79@takeUforward_#DSA#cpp
Day 8/45 of #SDESheetChallenge, completed the given 3 questions, Today's questions were really tricky, finally array is completed now we'll move with LL
@striver_79@takeUforward_
Day 7/45 of #SDESheetChallenge , solved the given 3 problems
1. Two Sum
2. 4 Sum(π)
3. Longest Consecutive Sequence in an Array
Today's problems were good tho, specially 4 sum
@striver_79@takeUforward_ 7 days completed.
#DSA#LeetCode#cpp
Day 19 of my @LeetCode streak, solved today's POTD 2574. Left and Right Sum Differences , it was based on prefix sum a easy question.
More to go , more to learn
#DSA#LeetCode#POTD#cpp
Day 5/45 of #SDESheetChallenge , solved the given 3 questions
1. Search in a 2D matrix [used binary search]
2. Pow(x,n) [used binary exponentiation]
3. Majority Element- I [simple sorting based]
@takeUforward_@striver_79 ,5 days completed :)
#DSA