摘要: 397 核心思想应该是尽量减少奇数操作 public static int integerReplacement(int n) { if (n == Integer.MAX_VALUE){ return 0; } int k = 0; int result = 0; while (n !=1){ S 阅读全文
posted @ 2021-02-20 14:28 雨落寒沙 阅读(283) 评论(0) 推荐(0)