LeetCode 321: Create maximum number — a dynamic programming approachGiven two arrays of length m and n with digits 0–9 representing two numbers. Create the maximum number of length k <= m+n from digits of…Oct 16, 2021Oct 16, 2021
A very simple argument parserI’m a guy who usually writes a lot of script files to automate my daily routine. To extend the flexibility of the script, a good piece of…Feb 27, 20211Feb 27, 20211
Android | Use ADB to backup and restore local data for testingIn addition to making ADB more useful in testing and debugging Android apps, today I would like to introduce a short trick to backup and…Nov 7, 2020Nov 7, 2020
Published inThe StartupAndroid | Extend the ADB to Make App Debugging EasierADB is a useful and powerful tool to interact with an Android app or the whole Android device via the command line. However, ADB is still…Oct 25, 2020Oct 25, 2020
Beautiful codeSome days ago, my friend requested me to help him review his code. Well, it was my daily job, so, I pleased to help.Mar 23, 2019Mar 23, 2019
Let’s code with LeetcodeMmm…, I don’t know how to start this post, actually, it’s not about Leetcode but about my laziness (yes, very similar to the story about…Jan 5, 20191Jan 5, 20191
A short story of naming git-branchWell, I’m a developer. Using git is somehow my daily job. I’m not very keen on typing command on the console, especially with long…Nov 2, 20181Nov 2, 20181
AnnoPref — make saving SharedPreferences easierI have been working on Android for years. Whenever making a get/set (or get/put) a field in the SharedPreferences file, I feel hard. It’s…Nov 24, 2016Nov 24, 2016