自定义博客皮肤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)
  • 资源 (1)
  • 收藏
  • 关注

原创 [leetcode] 720. Longest Word in Dictionary

Given a list of strings words representing an English Dictionary, find the longest word in words that can be built one character at a time by other words in words. If there is more than one possible

2018-01-02 17:27:18 310

原创 使用python读取.txt文件并保存到Excel中

txt文件中使用json格式保存数据,使用Excel中的Workbook函数可以实现行中单元格的值输入 worksheet.cell(r=i, c=j).value = file_cintent[str(i)][m] student.txt: { "1":["张三",150,120,100], "2":["李四",90,99,95], "3":["王五",60,66,68]

2017-10-13 14:47:47 9747 2

原创 使用 Python 如何生成 10个随机激活码

使用python产生10个随机的激活码,包含大小写字母及数字0-9,长度均为20。

2017-10-12 17:07:54 3125

原创 [leetcode] 78. Subsets

题目链接: https://leetcode.com/problems/subsets/ Given a set of distinct integers, nums, return all possible subsets. Note: The solution set must not contain duplicate subsets. For example,

2017-08-12 00:14:41 220

原创 [leetcode] 49. Group Anagrams

题目地址: https://leetcode.com/problems/group-anagrams/ Given an array of strings, group anagrams together. For example, given: ["eat", "tea", "tan", "ate", "nat", "bat"], Return: [     [

2017-08-11 16:10:47 228

原创 [leetcode] 45.Jump Game ii

题目链接: https://leetcode.com/problems/jump-game-ii/ Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents yo

2017-08-11 15:46:09 232

原创 排序算法

排序算法#include<iostream> using namespace std; void swap(T *a, T *b) { T tmp; tmp = *a; *a = *b; *b = tmp; } 1、简单选择排序void SelectSort(T A[], int n) { int min; for (int i = 0; i < n-

2016-08-08 12:54:28 299

原创 一个数是否2的N次方及求两个数的平均值

2的N次方的数转为二进制都是1带N-1个0的形式,例如 1、10、100、1000.…… 则可以进行 x& (x-1) 运算,若结果为0,则x是2的N次方。

2016-07-28 14:52:56 540

eclipse添加spket供js自动提示补全.rar

安装eclipse插件spket,下载完将文件夹置于eclipse所在目录重启便可使用。 设置: window-preferences

2019-05-22

空空如也

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

TA关注的人

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