码迷,mamicode.com
首页 >  
搜索关键字:characters    ( 2378个结果
LeetCode-86-Longest Palindromic Characters
算法描述: Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x. You should preserv ...
分类:其他好文   时间:2019-02-01 14:19:34    阅读次数:158
LeetCode-5-Longest Palindromic Characters
算法描述: Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list. Example 1: Examp ...
分类:其他好文   时间:2019-02-01 14:12:17    阅读次数:161
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
#Leetcode# 451. Sort Characters By Frequency
https://leetcode.com/problems/sort-characters-by-frequency/ Given a string, sort it in decreasing order based on the frequency of characters. Example ...
分类:其他好文   时间:2019-01-30 20:53:43    阅读次数:199
linux 命令学习1
tr命令 NAME tr - translate or delete charactersSYNOPSIS tr [OPTION]... SET1 [SET2]DESCRIPTION Translate, squeeze, and/or delete characters from standard ...
分类:系统相关   时间:2019-01-30 01:27:56    阅读次数:217
LeetCode-5-Longest Palindromic Characters
算法描述: Given an array of strings, group anagrams together. Example: Note: All inputs will be in lowercase. The order of your output does not matter. 解题 ...
分类:其他好文   时间:2019-01-29 20:47:18    阅读次数:200
19.1.29 [LeetCode 20] Valid Parentheses
Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. An input string is valid if: No ...
分类:其他好文   时间:2019-01-29 12:47:14    阅读次数:194
[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
451. Sort Characters By Frequency
Given a string, sort it in decreasing order based on the frequency of characters. Example 1: Example 2: Example 3: ...
分类:其他好文   时间:2019-01-27 14:37:38    阅读次数:160
LeetCode-8-String to Integer (atoi)
算法描述: Implement atoi which converts a string to an integer. The function first discards as many whitespace characters as necessary until the first non ...
分类:其他好文   时间:2019-01-25 13:41:07    阅读次数:119
2378条   上一页 1 ... 28 29 30 31 32 ... 238 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!