摘要:
fun hammingWeight(n: Int): Int { /** * 以下是完整的位运算符(只用语Int和Long) shl(bits) – 有符号左移(signed shift left,相当于Java的<<) shr(bits) – 有符号右移(signed shift right,相当 阅读全文
摘要:
package LeetCode_268 /** * 268. Missing Number * https://leetcode.com/problems/missing-number/description/ * * Given an array containing n distinct nu 阅读全文
摘要:
package LeetCode_1275 /** * 1275. Find Winner on a Tic Tac Toe Game * https://leetcode.com/problems/find-winner-on-a-tic-tac-toe-game/description/ * * 阅读全文
摘要:
package LeetCode_348 /** * 348. Design Tic-Tac-Toe * (Lock by leetcode) * https://www.lintcode.com/problem/design-tic-tac-toe/description * Design a T 阅读全文