- 博客(3)
- 收藏
- 关注
转载 python 学习笔记
字符编码 Unicode把所有语言都统一到一套编码里,这样就不会再有乱码问题了。如果统一成Unicode编码,乱码问题从此消失了。但是,如果你写的文本基本上全部是英文的话,用Unicode编码比ASCII编码需要多一倍的存储空间,在存储和传输上就十分不划算。 本着节约的精神,又出现了把Unicode编码转化为“可变长编码”的UTF-8编码。UTF-8编码把一个Unicode字符根据不同的数字大
2018-01-19 11:33:44 124
原创 Leetcode 300 Longest Increasing Subsequence 最长递增子序列
Given an unsorted array of integers, find the length of longest increasing subsequence. For example, Given [10, 9, 2, 5, 3, 7, 101, 18], The longest increasing subsequence is [2, 3, 7, 101], theref
2018-01-08 23:27:21 200
原创 Leetcode 343 Integer Break
Given a positive integer n, break it into the sum of at least two positive integers and maximize the product of those integers. Return the maximum product you can get.For example, given n = 2, return 1
2018-01-01 15:04:04 162
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人