icon
Personal Website

Weekly Coding β€’ 2024-11-04

This text was automatically translated to English language by LLM tool.

Hello, everyone. It’s time to write my mini-report. Last week, I worked on the following:

  1. Learning a foreign language = 3 hours
  2. Digital drawing = 3 hours
  3. LeetCode problems = 2 hours
    1. Completed three problems here:
      1. 46. Permutations My score: duration 1 ms, beats 85%; memory 54 MB, beats 62%
      2. 47. Permutations II My score: duration 3 ms, beats 80%; memory 53 MB, beats 98%
      3. 48. Rotate Image My score: duration 0 ms, beats 100%; memory 51 MB, beats 44%

While I was solving the problems on LeetCode, I remembered that I solved problem #48 a long time ago in school during informatics class. In school, the teacher gave us 45 minutes for one problem β€” which is exactly how long an entire lesson lasts. And now, many years later, I finished this problem in 75 minutes. Yes, I wasn’t in any particular hurry. But overall, looking back, I realize how difficult it was to solve this problem in school, especially without online tests. Plus, it was in Pascal, which has fewer conveniences than TypeScript. It was unreal πŸ₯΅

πŸ“ Digital Drawing 😴

  • I collected eight “hearts” on Pixiv
    • Four hearts for the drawing from October 25th
    • Four hearts for the drawings from October 31st