[LintCode] Baseball Game
Given a list of strings, each string can be one of the 4 following types:
Restore IP Addresses leetcode
Given a string containing only digits, restore it by returning allpossible valid IP address combinations. For example: Given "25525511135", return ["255.255.11.135", "255.255.111.35"]. (Order does not matter)
2016-01-14
leetcode 344. Reverse String
Write a function that takes a string as input and returns the string reversed.
[LeetCode] 227. Basic Calculator II
The expression string contains only non-negative integers, +, -, *, / operators and empty spaces . The integer division should truncate toward zero.
2018-09-17
JavaScript之Set与Map
Set {代码...} Map {代码...}
强化学习QLearning 代码实现
QLearning论文 {代码...} 定义参数 {代码...} {代码...} {代码...} {代码...} {代码...} {代码...} {代码...}
【leetcode】38. Count and Say 数字转换
The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ...
2016-10-27
故障分析 | DROP 大表造成数据库假死
作者:岳明强爱可生北京分公司 DBA 团队成员,人称强哥,朝阳一哥等,负责数据库管理平台的运维和 MySQL 问题处理。擅长对 MySQL 的故障定位。本文来源:原创投稿*爱可生开源社区出品,原创内容未经授权不得随意使用,转载请联系小编并注明来源。
2022-11-16
Decode Ways leetcode
A message containing letters from A-Z is being encoded to numbersusing the following mapping: 'A' -> 1 'B' -> 2 ... 'Z' -> 26 Given an encoded message containingdigits, determine the total number of ways to decode it. For example, Given encoded message "12", it could be decoded as "AB"(1...
2016-01-13
ffmpeg-hls拉流代码
ffmpeg-hls拉流 协议接口变量 {代码...} 从上面可以看出来一共就三个接口,打开,读取,关闭 打开 {代码...} open主要是读取m3u8的信息,并存储到变量中
2018-03-05
ORACLE---oracle查看锁资源情况
1.查看锁表情况; {代码...} 2.查看锁表、主机、SID/SERIAL {代码...} 3.查看导至锁表的sql语句(汇总查询); {代码...} 4.sid查看sql语句; {代码...} 5.删除锁表的会话; {代码...}
2020-06-22
日本雅虎程序员跳槽程序测试问题
原题请见:[链接] 我的答案是用简短的递归来解,后来有空想了想传统 DP 的解法,发现也不难。推导过程如下: {代码...} 公式一出,DP 再无难点。直接根据公式建表,然后返回表尾即可。 {代码...} 注意:这道题限制要求输出全部结果,这直接导致无论如何优化也只能是指数级的复杂度。故,说 DP 是不严谨的,只是往 DP 的...
每日一练(32):左旋转字符串
title: 每日一练(32):左旋转字符串categories:[剑指offer]tags:[每日一练]date: 2022/03/07每日一练(32):左旋转字符串字符串的左旋转操作是把字符串前面的若干个字符转移到字符串的尾部。请定义一个函数实现字符串左旋转操作的功能。比如,输入字符串"abcdefg"和数字2,该函数将返回左旋转两位得到的结果"cdefgab"...
2022-03-07
DataX源码编译及示例
1、系统要求 {代码...} 2、源码编译 {代码...} 结果如下 : {代码...} 打包成功后的DataX包位于 {DataX_source_code_home}/target/datax/datax/ ,结构如下: {代码...} 3、示例(MySQL → MySQL)3.1、准备(MySQL目标表) {代码...} 3.2、json准备DataX 完整 JSON 配置文件示例 : {代码...} mysql2mysql.json 如下 : {代码.....
2024-07-17
[LeetCode] 678. Valid Parenthesis String
Given a string containing only three types of characters: '(', ')' and '*', write a function to check whether this string is valid. We define the validity of a string by these rules:
2018-11-15
升级二进制kubernetes集群
最近由于时间不足,暂时无法对小版本更新第一时间出新的文档。若需要升级集群版本,可以参考此文档进行操作,每个节点一个一个的更新。大版本更新请各位持续关注我的Github项目仓库。后续更新会在仓库持续更新。感谢各位小伙伴一直以来的支持。
2022-08-17
【不可忽视的这一种】Dynamic ReLU:自适应参数化ReLU(调参记录6)
自适应参数化ReLU是一种动态ReLU(Dynamic ReLU),于2019年5月3日投稿至IEEE Transactions on Industrial Electronics,于2020年1月24日录用,于2020年2月13日在IEEE官网公布。
2020-05-25