Category: Uncategorised

  • Leetcode 504. Base 7 Solution in C

    Having just learnt how to convert decimal numbers to binary by hand a month or two ago, this was right up my alley. The methods I used were probably not the most concise or elegant, but they are fast and light on RAM, and I have the receipts to prove it! In order to use…

  • Setting Windows Chinese or other IME Keyboard to non-ANSI layout

    If you have a non-ANSI keyboard (e.g. UK keyboard) but want to use one of the Asian IMEs, you may encounter keyboard mapping issues. Unfortunately, Microsoft doesn’t allow you to select a keyboard layout for many of its IMEs (Chinese, for example). Fortunately, you can still change the keyboard layout. Press Win + R (run)…