摘要:
```java class Solution { public int knightDialer(int N) { int cons = 1000000007; int[][] d = new int[10][N]; int[][] m = new int[][]{{4, 6, 1}, {6, 8, 阅读全文
摘要:
S has a maximum length of 1000, and it's easy to figure out the total count of numbers combined by substring of S. Which is 1 + min(2, S) + min(2^2, S 阅读全文