posted @ 2015-09-01 00:16 cKK 阅读(123) 评论(0) 推荐(0) 编辑
posted @ 2015-08-31 23:44 cKK 阅读(204) 评论(0) 推荐(0) 编辑
|
||
摘要:
1.JavaScript 语句和 JavaScript 变量都对大小写敏感。2.重新声明 JavaScript 变量如果重新声明 JavaScript 变量,该变量的值不会丢失:在以下两条语句执行后,变量 carname 的值依然是 "Volvo":var carname="Volvo";var c... 阅读全文
posted @ 2015-08-31 23:44 cKK 阅读(204) 评论(0) 推荐(0) 编辑
摘要:
HTML 标签对大小写不敏感HTML 标签:标题: - 段落 链接This is a link图像: 标签在 HTML 页面中创建水平线。注释:换行:HTML 文本格式化 阅读全文
posted @ 2015-08-29 20:02 cKK 阅读(119) 评论(0) 推荐(0) 编辑
摘要:
注意:1.怎么至返回一次 2.循环里使用al.remove,al.size()也会变/*Given an array of integers, find two numbers such that they add up to a specific target number.The func... 阅读全文
posted @ 2015-06-04 13:44 cKK 阅读(218) 评论(0) 推荐(0) 编辑
摘要:
eclipse没问题,leetcode 1不能通过,超出int最大值了,但是怎么转无符号?/*Write a function that takes an unsigned integer and returns the number of ’1' bits it has (also known a... 阅读全文
posted @ 2015-06-03 23:56 cKK 阅读(155) 评论(0) 推荐(0) 编辑
摘要:
/*Write a function that takes an unsigned integer and returns the number of ’1' bits it has (also known as the Hamming weight).For example, the 32-bit... 阅读全文
posted @ 2015-06-03 22:13 cKK 阅读(130) 评论(0) 推荐(0) 编辑
摘要:
主意利用asc码 /*Given a column title as appear in an Excel sheet, return its corresponding column number. For example: A -> 1 B -> 2 C -> 3 ... Z -> 26 AA 阅读全文
posted @ 2015-06-03 21:45 cKK 阅读(188) 评论(0) 推荐(0) 编辑
摘要:
/*Write an algorithm to determine if a number is "happy".A happy number is a number defined by the following process: Starting with any positive integ... 阅读全文
posted @ 2015-06-03 21:11 cKK 阅读(229) 评论(0) 推荐(0) 编辑
摘要:
超时版:/*Given two strings s and t, determine if they are isomorphic.Two strings are isomorphic if the characters in s can be replaced to get t.All occur... 阅读全文
posted @ 2015-06-03 00:18 cKK 阅读(215) 评论(0) 推荐(0) 编辑 |
||