20241020 ◎
- Refactored huyfififi/mytree
- Replaced INI-based configuration with JSON-based one
- Refactored many parts, as it's been a long time since I created the
repository.
- Revisited Disjoint
Set Union by Abhinav Sharma | HackerEarth
- “Notice that we used the function call findParent( i ) to find
the parent of the ith node, instead of directly looking at parent[ i ].
The reason for this is: The parent of a node is not changed as soon as
its affiliation to a connected component is changed. We postpone this to
when we actually need to find the parent of the node. Doing this avoids
many useless operations. So, parent[ i ] may not contain the updated
value of the connected component that i belongs to. That’s why it’s
important that we use findParent( i ) instead of being lazy and taking
the value directly from parent[ i ]”
- I skipped the calculation of its time complexity for now..
I'm reading Alain's propos, but they are very boring… hard to
understand what he is trying to say.
Berries 200 Seaweed salad 300 Protein shake 150 Mashed potatoes 150
Tajin 400 Pasta 600
Total 1800 kcal
MUST:
- Update the git remote reference in the Amazon Lightsail
instance.
TODO:
- Upgrade the Mastodon version to v4.3.0
- Dentist appointment (20241029)
index 20241019 20241021