Starting today,
90 days is all I have.
I have lacked enough now, but I feel I have been consistent enough to pull it off.
Cohort 2 and Neetcode 250 are the core source.
Lets grind it out.
#100DaysOfCode#Neetcode#Leetcode#100xDevs
Cycle sort uses cycles to sort an array.
- It is beneficial when we want to write with minimum memory.
- It places an element at its correct position by counting the smaller numbers.
- Ideal for non-duplicate arrays.
- worst case is O(n^2)
Variations of this can be used to solve problems where values are in the range (1 to n)
The pattern is simple :
- We map ith values to either ith index or i-1 index.
- We ignore values that are greater than the range or is duplicate
-Check which elements are not placed
I have decided I would stop this #100DaysOfCode .
Due to the reason of not doing substantially enough.
Not being able to manage the office, DSA, and dev’s stuff.
Will put it in the hard yard daily, though.💪
Learnings, project ill post.
#100xDevs
Day 13 of #100DaysOfCode
-LeetCode (Interval questions , cycle sort )✅
Couldn’t do much as had a medical emergency. Pain in chest caused by stress.
Will be taking things a bit slow now but will keep on moving
#100xdevs#Leetcode
Well , if we modify selection sort to only swap when needed,
Why would it not perform like Cycle sort? for identifying minimum swaps??
Am I missing a brain cell to understand this?
#100DaysOfCode#100xdevs#Leetcode#DSA
Day 12 of #100DaysOfCode
- Leetcode ✅ (bitwise , sorting and interval questions)
- CSS (done , thinking of creating a simple css html application)🧑💻
Overthinking kills productivity 🚫
This week has been tough on me.
#100xDevs
Catching up with current tech is sooooooooooo tough.
AI definitely changed one thing . For reaching the top you have to work hard. Really hard.
#100xdevs#100DaysOfCode#Leetcode
@Sarthakhuh@kirat_tw happens you do get lost, my suggestion would be just keep on creating projects small onces side by side.
Getting your hand dirty helps you alot
I never thought there was an O(n) solution for this problem:
1863. Sum of All Subset XOR Totals
But Boy oh boy…. that was such an elegant solution.
#100DaysOfCode#100xdevs#Leetcode
Day 11 of #100DaysOfCode
-Office (still with the prod bug, is a deployment bug)😪 sucked all my energy today.🚫
-Leetcode (Done with sorting questions, have a few algos to cover )✅
-CSS (I don’t have enough energy today will compensate for it tom. )😭
#100xdevs#neetcode
Well, I haven’t found any benefits of meditation in my daily life till now.👀
Maybe in the long run, I will.💪
But certainly, I can sometimes catch my train of thought and diverge my mind if I try to. 🎯
#100DaysOfCode#100xdevs#leetcode