Error converting content: marked is not a function
location:: Home - Avalon, Boston victory-hour:: noπ΄ pomodoro-blocks:: 9 wake-up:: day:: Tuesday icon:: π πππ - **00:08** quick capture: https://www.intelligentchange.com/products/the-five-minute-journal - A/Energy Audit - My Daily Mantra: - **10:14 AM, day. Morning Pages** - The world is what you think it is. You can change it with awareness of your attention. What are you focused on right now? #logπͺ΅/recording -  - Remember: To Be, and To Imagine - π π₯ 11:45 - 1:30 AM: P/Algorithms Day 53. π π π π . Good ups and down with hard problems. Dejected but growing. Happy pain. collapsed:: true - Algo/Largest Range β - Wow. It's amazing how I m not scared approaching these problems now. I feel confident that I can solve it. Because I know it is solvable. In real world I would definitely look up to find out if that problem is really not np-compete. But maybe I will get training to smell it. - 8 mins: tough nut. Sort seems to do the trick lol. Sort is magical for so many hard problems my god. However, that would be O(nlogn). I'll code this up regardless first. - 35mins: hm ok. Ok That took a while to debug and pass all test cases. The confusion between what max range is consufed me.. it's not total number of values, but actual distance between values. so 2,3 is greater range than 1,1,1,. Nice one. - So how about O(n) ? I suppose I need a data structure. Looked at the hint 1 and hint 2. Damn fuck yeah, hash table. Duh! Let's code. - 25 mins: done. - Algo/Min Rewards - 15 mins: Man. I was able to reframe this problem as finding the largest range or trough if we graph the range. Key is to avoid going below 0 in rewards so we know what the max rewards should be. This is my alogrithmic brain now finding patterns #milestone - I think I have an algo. and I think I should be coding this up in 30 mins. - 50 mins: :(. I have been unable to code this. I course corrected and found the algo. It's O(n). Find range. Calculate reward until end of loop. I have buggy code. Taking a break. - - π₯£ πΊ π½ 2 - 4 PM: Break Fast - 4 -5: P/Algorithms. Not worth it. π π - Algo/Min Rewards - Made this overly coplicated. Will watch video tomorrow. Yuck. Tired. - ==I assume I wonβt be heard. So I talk more.== #Diary collapsed:: true - Silence speaks louder than words. - Silence penetrates into the bones while words may die at rattling at the periphery. - Silence has a way to find its way in. - 5:30 - 7PM: Tinkering with code π π π collapsed:: true - Web Graphics - Built P/Game of Life simulation in javascript - π Every Day Kaizen β - P/Accent Reduction With Gabe β - A/Tai Chi β - A/Energy Audit collapsed:: true - | π₯ | 9 - 10 AM JOKR Roadmap meeting. | | π© | 10 - 11 AM: coffee and video game | | π₯ | 11:45 - 2 PM: algorithms practice. Had to break as I started loosing energy. Shall restrict to 90 mins. | | π© | 2 - 4 PM: Break. Food. Coke. Tv. | | π₯ | 4 - 5PM: Algo again. Struggle. Feeling down. | | π© | 5 min mindfulness cooldown | | π© | Coding project | |π©| shower and grooming | - - π **21:10 PM Lights Off** - Get back to the grips. Feeling the flow