發表文章

journal 20260209

markdown Today I want to say I wrote three LeetCode questions - [52. N-Queens II](https://leetcode.com/problems/n-queens-ii/submissions/1913376856) [ Time taken: 25 m 45 s ] - [22. Generate Parentheses](https://leetcode.com/problems/generate-parentheses/submissions/1913468059) [ Time taken: 7 m 15 s ] db - [79. Word Search](https://leetcode.com/problems/word-search/submissions/1913484901) [ Time taken: 18 m 54 s ] I'm surprised that I have an idea immediately when writing N-Queen II. My LeetCode's `Top Interview 150` list almost done, there are 15 questions left. I will start to read some system design and DDIA. I realize my English skill is improved. I'm happy about it. Habit tracking - Plank

journal 20260208

markdown Today I watched this [video](https://www.youtube.com/watch?v=ZgdS0EUmn70) and I want leave some my thought. The most impress me is not break down the constrains, but try to solve that you know solution immedeatly, then talk to intervers that remain is you only have aspect but you'll try to solve it. That is cool cuz I always try to solve all the problems, ant this aspect make me feel more cofidence. sticking habbit - Plank

journal 20260207

markdown Today I found a website that can be helpful to practice typing code and familiar with keybaord. -> https://monkeytype.com/, If I change keyboard again, I'll try it, BTW I'm using `SofleKeyboard` and I'm thinking about buying another `CorneKeyboard` for outdoor use. I've been watching a lot of English video to learning, but I'm feel little overwhelmed. I practice LeetCode to build solid sense of algo, I think this is great cuz I can find the efficient issue but my coworker might miss it. Again I sticking to my plank plan, and the funny thing is I always realize I haven't done it yet when I'm writting this journal. XD If you are reading this and want chat with me and I sticking in writting journal, leave the comment I will reply you XD.

journal 20260206

markdown It's me again! BTC, ETH and the market is fallen down!!! OMG XD But I have about 43% free money and ready to buy it! so come on! Today I still stick on my plank plan.

journal 20260205

markdown Okkkkkkkkk! Today is a tiring day! I'm so tired cuz I was in meetings all day!! Today is Spring Grooming day and we plan to use an unimplemented API with our system!!! so we have to consider these sense like bypass, undesign schema, etc. And imagine how to integrate with that system. but at least there is one thing I am happy that tomorrow is holiday! I am taking my annual leave cuz if I don't use it, it will expire, that is law in my country. BTW, I still sticking my plank plan.

journal 20260204

markdown Hey guys, today I want to writing something. I go to my company and work with my college together, after work we eat susi, the steam egg is so amazing in this place. we discuss about vc/vp did and api flow among new server and old application server, and try to figure out how to make UI/UX useable with pm. Today I hold plank in `01:25`, BTW my arm had some pain so to take some soft pillow?(cart?) ont the ground, I feel better. anyway, today is tired day. so I goona sleep early today. bye guys.

journal 20260203

markdown Today is my Plank workout day 3, I can hold in `02:01` second, I will continue do it. I starting to make probiotics live in my body, so I take `NOW Foods` 's Probiotic-9 50Billion. I hope I can overcome the milk digestion issue. I refactor my company code with follow: ```ts // old export const LinkTypes = ['facebook', 'youtube', 'instagram', 'linkedin', 'x'] as const; export type LinkType = typeof LinkTypes[number]; ``` ```ts // new export const LinkType = {   Facebook: 'facebook',   Youtube: 'youtube',   Instagram: 'instagram',   Linkedin: 'linkedin',   X: 'x', } as const; export type LinkType = typeof LinkType[keyof typeof LinkType]; export const LinkTypes = Object.values(LinkType) as readonly LinkType[]; ``` It can compatible with old usage like `const link: LinkType = 'facebook'`. Also can use readable and no typing string like `const link: LinkType = ...