Tag: code
For example, if you want to remove a bit or some bits from a integer (signed or unsigned), you can do this. inline int removeBit(int n, int bit) { …
I have asked a question on stackoverflow: inline int test(int n, int tag, int flag) { if (0 == flag) return ((n & tag) == tag); return ((n & …
This puzzle is from Leetcode Online Judge and this may appear quite often during interviews. This puzzle asks you to find the minimal sum for a number triangle. You …
With C#, we can write code in a quick and elegant way. For example, if you want to search for temporary files (with some file patterns) in the system …
Programmers don’t like GUI (Graphic User Interface) Design. Therefore, the CSS (Cascade Style Sheet) is not their thing. I always knew that there are viewing problems on smart phones/devices …