Thursday, March 17, 2022

10 facts about Leetcode algorithm practice

March 17, 2022

Introduction

I spent over months to practice Leetcode algorithms, even though I only have less than 200 submission last few months. I did learn something important as a software programmer, so I like to write 10 facts about Leetcode algorithm practice. 

10 facts about Leetcode algorithm practice

I think that there are so many reasons I did not practice so often in 2021, since I had less than 200 submissions in 2021, compared to Dr. Lai, who has over 1500 submissions. 

  1. Every software programmer has a dream, write code for a billion of people to use, like Gmail, Youtube.com; 
  2. Practice Leetcode algorithms is the way to train ourselves, work hard, be patient, get to details;
  3. Focus on basic algorithms, like Leetcode 15, three sum, and simple things like array - subarray, sequence
  4. There are always excellent code to read shared by others no matter what algorithm to work on
  5. Learn some new programming language, take some time to try Python
  6. Document my learning experience, I can tell that I can perform better compared to the submission I have five years ago.
  7. Work hard is possible. I start to work on research, find a book to follow written by AI research Li Yan
  8. I start to think more algorithms, take evening time to work on a few algorithms
  9. It is not hard for me to find good ideas to try, copy the idea and convert code into C#
  10. I have more experience to deal with weight gain, after 100 algorithm practice, I will take breaks, run another 10K, and play a few hours to let my body to recover


No comments:

Post a Comment