@Dhruthi66 Profile picture

Dhruthi_ diaries

@Dhruthi66

Happy Diwali everyone May the light of Diwali fill your home with peace and joy

Tweet Image 1

● Feeling stressed of trying to juggle college life and DSA some days, it feels like I'm in a never-ending balancing act! ● Some days, managing college and DSA feels like a game of Tetris just trying to fit everything in without losing my mind

Tweet Image 1

Never knew the importance of stone but yesterday one our classmate slipped and fell from the hills to water falls ..we all thought she would not be alive but today we got to know tht she was stuck between few stones and was rescued by police ..God has indeed given a second chance


Just came across a quote so thought of sharing it : "Strength does not come from winning. Your struggles develop your strengths. When you go through hardships and decide not to surrender, that is strength". I hope to have it till the end


From past few days I am really not able to be consistent on doing dsa coz of college assignments, records ..prep for labs, quiz, observation..its not just one subject but 9 together... I thought 1st yr of clg itself was so hard but after branch entry( electronics) 1st yr was easy


Dsa ✔️ Every late night and early morning is a step closer to my goals. Keep pushing, everyone! We’ve got this! 💯 #CollegeLife #TechPrep #Grinding #FutureReady


Contest ✅️ DSA❌️ Assignment ✅️ Record ✅️ Chill✅️ Music ✅️


Weekend ka mood hi kharab hogaya aaj ki contest de kar par koi nhi kaal subh phir se koshish karungi zaroor


Efforts are not rewarded but results are par.. Samaj nhi aa raha leetcode ka difficulty level badatha ja raha hai ya phir Mera level girth ja raha hai


Day 28 of DSA Solved 2 medium and 1 easy level problems on leetcode ● Maximum swap ● Median of 2 sorted arrays

Tweet Image 1
Tweet Image 2
Tweet Image 3

Day 27 of dsa Done 2 medium level questions ●Remove duplicates from sorted array ●Separate black and white balls The problem is simple but easy to make mistake .It took me 3 hrs to understand these 2 questions. I wonder if there is any efficient way to avoid mistakes.

Tweet Image 1
Tweet Image 2

Day 26 of dsa Done 3 easy questions from top 150 on leet code ●Remove duplicates from sorted array Once an elem is encountered u must bypass its duplicates and move on to the next unique elements ●Merge sorted array Here we have to think abt 2 elem rather than arrays

Tweet Image 1
Tweet Image 2
Tweet Image 3

Day 26 of dsa Solved contest problems Find x sum of all k long subarrays Kth largest perfect subtree size in binary Count the number of winning sequences This time it was really hard but I'm gradually trying to grasp the logic


Day 25 of dsa Problems like longest sub array with sum k

Tweet Image 1

Choose 1 or 0 don't hang out between 🎯🧿


Day 25 of dsa Didn't attend today's leet code contest Tried to understand the problem till the optimal level ● longest sub array with sum k ( positives) Will work more tomorrow


Day 24 if dsa Solved 3 problems from array Find the missing number Brute will be pick the no and check if it exists or not Better using hashing Optimal using XOR ● max consecutive ones Tc is O(n) ● find the number tht appears once but others twice Same approach as the 1st

Tweet Image 1
Tweet Image 2
Tweet Image 3

Day 23 of dsa Solved problems on Finding union of 2 sorted array from the brute force to the optimal solution Tc is O(n1+n2) Sc is O(n1+n2) ● Intersection of 2 sorted array Using the help of visited array To find optimal solution we check here if there is an occurrence

Tweet Image 1

Day 23 of dsa Solved questions like ●Merge two sorted array Using two pointers to traverse elements of a and b one by one ●Intersection of two sorted array Here the main idea is that the arrays are sorted Here we can hash the elements from the first array into a map

Tweet Image 1
Tweet Image 2

Day 22 of dsa Solved problems on ●Left rotate an array by one place TIME COMPLEXITY IS O(N) ●Left rotate an array by d places On applying optimal approach the time complexity is O(2n) ●Move zeros to the end Here brute force approach is pick up the non 0s ●Linear search

Tweet Image 1
Tweet Image 2
Tweet Image 3
Tweet Image 4

United States Trends
Loading...

Something went wrong.


Something went wrong.