Joined April 2025
29 Photos and videos
Day 12 - #SDESheetChallenge @striver_79 @takeUforward_ Q1:- Reverese half of LL & compare node one by one Q2:- Tortoise & Hare algorithm Q3:- Recursion and MergeSort concept
1
3
19
Day 10 - #SDESheetChallenge @striver_79 @takeUforward_ Q1:- If a person is n steps ahead & we both move at same speed, gap remains n steps. So when they reach the finish line, I'll be n steps behind it. Q3:- copy next node's value & skip the next node.
1
1
15
Day 09 - #SDESheetChallenge @striver_79 @takeUforward_ Q1:- try to solve it by breaking in small pattern Q2:- If my opponent runs 2× faster than me, when they finish the race, I'll be at the midpoint of the track. Q3:- same concept of Merge Sort
1
5
27
Day 08 - #SDESheetChallenge @striver_79 @takeUforward_ Q1 & Q2:- try reverse thinking. If total coins add up to ₹100 & we need to give ₹80, instead of selecting ₹80, we can find ₹20 (100 − 80), set those coins aside, & give all remaining coins. Q3:- sliding window problem
1
2
51
Day 07 - #SDESheetChallenge @striver_79 @takeUforward_ Q1, Q2:- If elements are sorted, by comparing curr sum with target, we can decide whether to eliminate elements from start or the end. Q3:- Skip elements with a prev consecutive element; start from first one in sequence.
1
4
30
Day 06 - #SDESheetChallenge @striver_79 @takeUforward_ Q1:- on a battlefield if opposing soldiers eliminate each other; survivors more likely belong to majority Q2:- standard DP Question Q3:- OG MergeSort
1
2
63
Day 05 - #SDESheetChallenge @striver_79 @takeUforward_ Q1:- think 2d as 1d array; it is sorted & we are looking for target -> Binary Search Q2:- simple math & recursion Q3:- on a battlefield if opposing soldiers eliminate each other; survivors more likely belong to majority
6
9
85