Revised "Find Middle of Linked List" yesterday. Got the same problem in today's OA of IT consulting company. .
A reminder that consistent revision really works. The Striver SDE Sheet is a goldmine! π
#DSA@striver_79@takeUforward_#SDESheetChallenge
ποΈ Day 12 β #SDESheetChallenge
β Find the Starting Point of a Loop in a Linked List
(Brute Force + Tortoise & Hare method)
β Check if a Linked List is a Palindrome (Brute + Optimized Approach)
π Revised: Find the Middle of a Linked List
#DSA@striver_79@takeUforward_
ποΈ Day 10β #SDESheetChallenge
β Remove Nth Node From End of Linked List (Brute Force)
β Remove Nth Node From End of Linked List (Optimal - Fast & Slow Pointers)
Thank you @striver_79 for making learning DSA much more structured and approachable
#DSA@takeUforward_@striver_79
@Hiteshdotcom I think there would be a huge drop in https://t.co/nGiIYdDQ4b admissions, especially in CSE. A large part of the current demand is driven by the expectation of campus placements and high-paying jobs. Without that, the hype around engineering would likely stabilize in a good way.
ποΈ Day 9 β #SDESheetChallenge
Today's Progress:
β Reverse a Linked List (Iterative Approach)
β Reverse a Linked List (Recursive Approach)
Learned how pointer manipulation and recursion can solve the same problem in different ways.
#DSA@striver_79@takeUforward_
ποΈ Day 7 β #SDESheetChallenge
β Solved: Majority Element II
Find all elements that appear more than βn/3β times in the array.
Brute Force β O(nΒ²)
HashMap Approach β O(n) Time, O(n) Space
Optimal Approach β Extended Moore's Voting Algorithm
#DSA@striver_79@takeUforward_
ποΈ Day 4 β #SDESheetChallenge
Today's progress:
β Find the Duplicate Number
I spent extra time understanding the approach and solution.
Remaining:
β³ Find the Repeating and Missing Number
β³ Inversion of Array
Will continue tommorow.
@takeUforward_@striver_79
β Day 1 Completed β #SDESheetChallenge
Today's learnings:
β’ Modifying data during traversal can lead to incorrect results.
β’ Extra space can often be reduced by reusing existing data structures.
β’ Set Matrix Zeroes β
β’ Need to revisit Next Permutation
@takeUforward_