Skip to main content
Lazy_V's Blog

Lazy_V's Blog

Talk is cheap, show me the code.

New Beginning

My student discounts of Alibaba Cloud and Tencent Cloud will be used up soon, and the cost of subsequent servers is still not small. To save money, I plan to use GitHub Pages back. This time, I don't intend to use Hexo, but consider using a more powerful static page generator with Vue features: VuePress. I chose Hope as the theme, and then will slowly add some contents. I hope this blog is simpler, refreshing and more suitable for reading.


Lazy_VOriginalLess than 1 minuteJottingsJottings
The algorithm framework for solving DP problems

Dynamic Programming problems are the most complicated problems in algorithms. However, it is actually simple to solve if you understand the key concepts and the main algorithm framework of DP.


Lazy_VOriginalAbout 3 minAlgorithmsAlgorithmsDynamic Programming
Deeply dive into static abstract interface methods in C# 11

Static abstract interface method is a new feature in C# 11 (corresponding .NET 7.0). In this article, we are going to deeply dive into it, talk about why we need it, what it is and how to use it.


Lazy_VOriginalAbout 5 minProgramming LanguagesProgramming LanguagesC#.NETInterfaces
Implement automatically increase ids in MongoDB

In MongoDB, every documents have an object id (Bson ID). But sometimes we need ids that can automatically increase when creating a new model. And the id should be an integer starts from 1. How to deal with the problem?


Lazy_VOriginalLess than 1 minuteBackendMongoDBDatabase