码迷,mamicode.com
首页 >  
搜索关键字:reverse integer    ( 19410个结果)
攻防世界 reverse easy_Maze
easy_Maze 从题目可得知是简单的迷宫问题 int __cdecl main(int argc, const char **argv, const char **envp) { __int64 v3; // rax int v5[49]; // [rsp+0h] [rbp-270h] int ...
分类:其他好文   时间:2020-02-08 13:50:02    阅读次数:291
子字符串模板 (双指针, 滑动窗口)
对于大多数子字符串问题,我们给了一个字符串,需要找到一个满足某些限制的子字符串。通常的方法是使用带有两个指针的哈希表。模板如下。 需要提到的一件事是,当要求找到最大子串时,我们应该在内部while循环之后更新最大值,以确保子串有效。另一方面,当要求找到最小子串时,我们应该在内部while循环内更?? ...
分类:其他好文   时间:2020-02-08 13:38:22    阅读次数:71
Valid Palindrome III
Given a string s and an integer k, find out if the given string is a K-Palindrome or not. A string is K-Palindrome if it can be transformed into a pal ...
分类:其他好文   时间:2020-02-08 10:14:38    阅读次数:74
DataGridView复制到Excel格式
Clipboard.Clear() ' 清除剪贴板 If DataGridView2.Rows.Count > 0 Then Dim a As New List(Of String) For i As Integer = 0 To DataGridView2.Rows.Count - 1 Dim b ...
分类:Windows程序   时间:2020-02-08 00:22:10    阅读次数:82
557. Reverse Words in a String III
Given a string, you need to reverse the order of characters in each word within a sentence while still preserving whitespace and initial word order. E ...
分类:其他好文   时间:2020-02-08 00:01:55    阅读次数:97
Ethical Hacking - Web Penetration Testing(6)
REMOTE FILE INCLUSION Similar to local file inclusion. But allows an attacker to read ANY file from ANY server. Execute PHP files from other servers o ...
分类:Web程序   时间:2020-02-07 22:45:28    阅读次数:143
[前端] VUE基础 (5) (过滤器)
一、过滤器 过滤器分为局部过滤器和全局过滤器。 1.局部过滤器 <body> <div id="app"> </div> <script src="./static/vue.js"></script> <script> // 定义App let App = { data() { return { m ...
分类:其他好文   时间:2020-02-07 20:29:59    阅读次数:62
LeetCode练题——53. Maximum Subarray
1、题目 53. Maximum Subarray——Easy Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum a ...
分类:其他好文   时间:2020-02-07 20:25:50    阅读次数:71
[leetcode]Read N Characters Given Read4 II - Call multiple times
调用多次readN,所以要重复使用internal buffer """ The read4 API is already defined for you. @param buf, a list of characters @return an integer def read4(buf): # B ...
分类:其他好文   时间:2020-02-07 18:42:43    阅读次数:71
[Leetcode]689.Maximum Sum of 3 Non-Overlapping Subarrays
链接: "LeetCode689" 给定数组?nums?由正整数组成,找到三个互不重叠的子数组的最大和。 每个子数组的长度为k,我们要使这3 k个项的和最大化。 返回每个区间起始索引的列表(索引从 0 开始)。如果有多个结果,返回字典序最小的一个。 示例: 输入: $[1,2,1,2,6,7,5,1 ...
分类:移动开发   时间:2020-02-07 18:28:31    阅读次数:81
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!