自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

原创 Swift学习: The Swift Programming Language 01

简单值 练习: 创建一个常量,显式指定类型为Float并指定初始值为4。let practice: float =4 练习: 使用()来把一个浮点计算转换成字符串,并加上某人的名字,和他打个招呼。let apples =3.4let sayhi ="hello \(apples) " 要创建一个空数组或者字典,使用初始化语法。let emptyArray = [String](

2015-07-23 14:52:47 531

原创 LeetCode Solution 06: 217Invert Binary Tree

Contains Duplicate Given an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at least twice in the array, and it should return false

2015-06-13 15:46:59 381

原创 LeetCode Solution 05: 226Invert Binary Tree

Invert Binary Tree Invert a binary tree. 4 / \ 2 7 / \ / \ 1 3 6 9 to 4 / \ 7 2 / \ / \ 9 6 3 1 Trivia: This probl

2015-06-13 15:31:44 328

原创 LeetCode Solution 04: 19Remove Nth Node From End of List

Remove Nth Node From End of List Given a linked list, remove the nth node from the end of list and return its head. For example, Given linked list: 1->2->3->4->5, and n = 2. After remo

2015-05-28 16:35:47 403

原创 LeetCode Solution 03: 203Remove Linked List Elements

Remove Linked List Elements Remove all elements from a linked list of integers that have value val. Example Given: 1 –> 2 –> 6 –> 3 –> 4 –> 5 –> 6, val = 6 Return: 1 –> 2 –> 3 –> 4 –> 5

2015-05-28 15:46:29 347

原创 Leetcode solution 02:205 Isomorphic Strings

Isomorphic Strings 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 occurrences of a character mu

2015-05-23 11:33:25 362

原创 Leetcode solution 01:206 Reverse Linked List

Reverse Linked List Reverse a singly linked list. /** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : va

2015-05-23 09:55:41 333

原创 Python Study Record 01

Python Study Record 01因为自己之前已经学习过了C++ 和JAVA 的语法,所以了解python 的基础只需要记录 不同的一些点,防止自己搞混掉Cpython代码开头为 >>>输入为input_raw()r”可以解除掉”中内容的转义常量用大写单词来储存ord(‘A’)和chr(65)函数,可以把字母和对应的数字相互转换u” 表示”中的内容为Unicode编码,u’AB

2015-05-17 19:55:07 630

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除