码迷,mamicode.com
首页 >  
搜索关键字:character    ( 4920个结果
#Leetcode# 387. First Unique Character in a String
https://leetcode.com/problems/first-unique-character-in-a-string/ Given a string, find the first non-repeating character in it and return it's index. ...
分类:其他好文   时间:2019-01-30 20:54:02    阅读次数:119
leetcode 344. Reverse String
Write a function that reverses a string. The input string is given as an array of characters char[]. Do not allocate extra space for another array, yo ...
分类:其他好文   时间:2019-01-30 20:53:52    阅读次数:170
浅谈 Python 的模块导入
浅谈 Python 的模块导入 本文不讨论 Python 的导入机制(底层实现细节),仅讨论模块与包,以及导入语句相关的概念。通常,导入模块都是使用如下语句: 一般情况下,使用以上语句导入模块已经够用的。但是在一些特殊场景中,可能还需要其他的导入方式。例如 Python 还提供了 内建函数和 imp ...
分类:编程语言   时间:2019-01-30 19:57:38    阅读次数:186
[LeetCode] Positions of Large Groups 大群组的位置
In a string S of lowercase letters, these letters form consecutive groups of the same character. For example, a string like S = "abbxxxxzyy" has the g ...
分类:其他好文   时间:2019-01-28 23:07:06    阅读次数:176
mysql常用参数
[client]port=5725[mysql]default-character-set=utf8[mysqld]# 设置5725端口port=5725# 设置mysql的安装目录basedir=D:\\mysql725\\mysql-5.7.25-winx64# 设置mysql数据库的数据的存放 ...
分类:数据库   时间:2019-01-28 23:03:47    阅读次数:216
多字节常量char m='\abcd'
'abcd'这种称为多字符常量,语法上合法,类型为int 其值由实现定义,也就是说,你不指望每个实现都保存m或a 主要是考虑到有时候需要一个序列来表示一个字符。比如 '\x64','\'',和'\n'实现定义为转到下一行,以及‘我’这样的字符。-知乎的答案 无论C还是C++在Character co ...
分类:其他好文   时间:2019-01-28 17:46:17    阅读次数:161
POJ1094 Sorting It All Out
Sorting It All Out Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 40012 Accepted: 14072 Description An ascending sorted sequence of distin ...
分类:其他好文   时间:2019-01-28 10:52:45    阅读次数:116
MPI Maelstrom-最短路
BIT has recently taken delivery of their new supercomputer, a 32 processor Apollo Odyssey distributed shared memory machine with a hierarchical commun ...
分类:其他好文   时间:2019-01-28 01:05:42    阅读次数:128
[leetcode]3-Longest Substring Without Repeating Characters
3. Longest Substring Without Repeating Characters 1)题目 2)思路 先写一个子函数,输入数组下标,母字符串,往后遍历,获得下标出最长子串长度。 遍历母字符串,调用子函数,获得每一位长度,放入数组里。 获取数组最大值。 3) 代码 public in ...
分类:其他好文   时间:2019-01-28 00:58:44    阅读次数:200
CSS-@规则
# @规则 [`@charset`](https://developer.mozilla.org/en-US/docs/Web/CSS/@charset) — Defines the character set used by the style sheet. [`@import`](https:/... ...
分类:Web程序   时间:2019-01-27 21:50:26    阅读次数:173
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!