随笔分类 - LintCode
摘要:第1章: 9.Fizz Buzz :http://www.lintcode.com/zh-cn/problem/fizz-buzz/ 解法1:(% String.valueOf) (1.rst; 2.for(1,n),15,5,3,else; 3.return) 1 public class Sol
阅读全文
摘要:Difficulty--Naive 463.Sort Integer 整数排序:http://www.lintcode.com/en/problem/sort-integers/# 冒泡排序:(两两比较取出最大的放最后) (外循环-趟数0,n-1;内循环-有序区的比较次数n-i-1趟;判断a[j]
阅读全文

浙公网安备 33010602011771号