<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[hello_6_world的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/hello_6_world</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; hello_6_world]]></copyright><item><title><![CDATA[Manacher算法Java版]]></title><link>https://blog.youkuaiyun.com/hello_6_world/article/details/106620828</link><guid>https://blog.youkuaiyun.com/hello_6_world/article/details/106620828</guid><author>hello_6_world</author><pubDate>Mon, 08 Jun 2020 15:46:11 +0800</pubDate><description><![CDATA[import java.util.Scanner;

public class MainManacher {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String str = sc.nextLine();
        System.out.println(maxLcpsLength(str));
    }

    public static c.]]></description><category></category></item><item><title><![CDATA[KMP算法Java语言实现]]></title><link>https://blog.youkuaiyun.com/hello_6_world/article/details/106587461</link><guid>https://blog.youkuaiyun.com/hello_6_world/article/details/106587461</guid><author>hello_6_world</author><pubDate>Sat, 06 Jun 2020 14:39:37 +0800</pubDate><description><![CDATA[import java.util.Scanner;

public class MainKMP {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String str1 = sc.nextLine();
        String str2 = sc.nextLine();
        char[] strs = str1.toCharArray();
]]></description><category></category></item><item><title><![CDATA[[编程题]石头碰撞]]></title><link>https://blog.youkuaiyun.com/hello_6_world/article/details/105623795</link><guid>https://blog.youkuaiyun.com/hello_6_world/article/details/105623795</guid><author>hello_6_world</author><pubDate>Sun, 19 Apr 2020 22:36:11 +0800</pubDate><description><![CDATA[快手Java工程师笔试题
问题描述
**给定一组石头，每个石头有一个正数的重量。每一轮开始的时候，选择两个石头一起碰撞，假定两个石头的重量为x，y，x&lt;=y,碰撞结果为

如果x==y，碰撞结果为两个石头消失
如果x != y，碰撞结果两个石头消失，生成一个新的石头，新石头重量为y-x
最终最多剩下一个石头为结束。求解最小的剩余石头质量的可能性是多少。**

输入描述:
第一行输入石头个数(...]]></description><category></category></item><item><title><![CDATA[算法导论——插入排序]]></title><link>https://blog.youkuaiyun.com/hello_6_world/article/details/93333637</link><guid>https://blog.youkuaiyun.com/hello_6_world/article/details/93333637</guid><author>hello_6_world</author><pubDate>Sun, 23 Jun 2019 13:49:56 +0800</pubDate><description><![CDATA[插入排序
使用范围：
适用于元素较少的排序。
算法思想
设数组A为待排序数组，从A中第二个元素开始，依次取从左向右取A中的每个元素。以此元素为界将A数据分为两块，该元素左边为已经排序稳定的序列，该元素的右边为A数据中原始的数据序列。并将该元素插入右边的序列中，保证元素插入之后的序列依旧是有序的。向后依次取元素，插入右边序列，直到A中左边序列的所有元素均有序插入右边变序列为止。
伪代码
for j=...]]></description><category></category></item><item><title><![CDATA[强化学习Q-Learning-01]]></title><link>https://blog.youkuaiyun.com/hello_6_world/article/details/90439946</link><guid>https://blog.youkuaiyun.com/hello_6_world/article/details/90439946</guid><author>hello_6_world</author><pubDate>Wed, 22 May 2019 11:06:17 +0800</pubDate><description><![CDATA[Q-Learnin算法实现


import numpy as np
import pandas as pd
import time

np.random.seed(2)


#environment
N_STATES = 6
ACTIONS = ['left', 'right']
EPSILON = 0.9
ALPHA = 0.1
LAMBDA = 0.9
MAX_EPISODES = 13
F...]]></description><category></category></item><item><title><![CDATA[贪心算法]]></title><link>https://blog.youkuaiyun.com/hello_6_world/article/details/84449482</link><guid>https://blog.youkuaiyun.com/hello_6_world/article/details/84449482</guid><author>hello_6_world</author><pubDate>Sat, 24 Nov 2018 17:01:40 +0800</pubDate><description><![CDATA[贪心算法
贪心算法又称贪婪算法是指，在问题求解的过程中。总是做出当前看来最好的选择。也就是说只考虑问题的局部最优解，并不考虑全局最优解。
贪心算法不是对所有问题都能得到整体最优解，关键的贪心策略的选择，选择贪心算法必须具备无后效性，即某个状态以前的过程不会影响以后的状态，只与当前状态有关。
基本要素
贪心选择
贪心选择是指所求问题的整体最优解可以通过一系列局部最优的选择。贪心选择是采用从顶向下、以...]]></description><category></category></item><item><title><![CDATA[markdown说明]]></title><link>https://blog.youkuaiyun.com/hello_6_world/article/details/83344156</link><guid>https://blog.youkuaiyun.com/hello_6_world/article/details/83344156</guid><author>hello_6_world</author><pubDate>Wed, 24 Oct 2018 15:00:35 +0800</pubDate><description><![CDATA[markdown编辑器欢迎使用Markdown编辑器新的改变功能快捷键合理的创建标题，有助于目录的生成如何改变文本的样式插入链接与图片如何插入一段漂亮的代码片生成一个适合你的列表创建一个表格设定内容居中、居左、居右SmartyPants创建一个自定义列表如何创建一个注脚注释也是必不可少的KaTeX数学公式新的甘特图功能，丰富你的文章UML 图表FLowchart流程图导出与导入导出导入
欢迎使用M...]]></description><category></category></item><item><title><![CDATA[进制转换]]></title><link>https://blog.youkuaiyun.com/hello_6_world/article/details/81208529</link><guid>https://blog.youkuaiyun.com/hello_6_world/article/details/81208529</guid><author>hello_6_world</author><pubDate>Wed, 25 Jul 2018 19:47:56 +0800</pubDate><description><![CDATA[ 一、常见数字表示

常见数表示
	二进制
			八进制
			十进制
			十六进制
		0000
			0
			0
			0
		0001
			1
			1
			1
		0010
			2
			2
			2
		0011
			3
			3
			3
		0100
			4
			4
			4
		0101
			5
			5
			5
		0110
			6
			6
			6
		...]]></description><category></category></item><item><title><![CDATA[Java常见错误——破坏封装]]></title><link>https://blog.youkuaiyun.com/hello_6_world/article/details/80571651</link><guid>https://blog.youkuaiyun.com/hello_6_world/article/details/80571651</guid><author>hello_6_world</author><pubDate>Mon, 04 Jun 2018 19:33:48 +0800</pubDate><description><![CDATA[当你创建一个类，用来表示用户信息（用户信息只允许查看，不允许修改）的时候，你会怎么做呢？class Employee
{
  private Date hireDay;

  pulic Date getHireDay()
  {
    return hireDay;
  }
//其他属性省略
//....

}上面的代码感觉 有问题吗？然后你想一下一个问题，没有对hireDay设置set方法，...]]></description><category></category></item><item><title><![CDATA[Docker发布nodejs工程]]></title><link>https://blog.youkuaiyun.com/hello_6_world/article/details/79170554</link><guid>https://blog.youkuaiyun.com/hello_6_world/article/details/79170554</guid><author>hello_6_world</author><pubDate>Fri, 26 Jan 2018 12:01:07 +0800</pubDate><description><![CDATA[1、进入docker所在服务器192.168.*.**
2、创建自己的文件夹（方便自己操作）：


mkdir lingyun
3、进入相应的文件夹：

cd lingyun
4、从git上拉去自己的项目代码(如果项目启动需要依赖其他文件，请一起把代码拉进去)：

git clone http://gitlab.***.cn/frontend/xxt_resource.git ]]></description><category></category></item><item><title><![CDATA[JavaScript加载顺序问题]]></title><link>https://blog.youkuaiyun.com/hello_6_world/article/details/78686409</link><guid>https://blog.youkuaiyun.com/hello_6_world/article/details/78686409</guid><author>hello_6_world</author><pubDate>Fri, 01 Dec 2017 14:51:59 +0800</pubDate><description><![CDATA[alert("head");
</script




  alert("footer");
</script



关键技术讲解：

onload 事件会在页面或图像加载完成后立即发生。

引用顺序：
页面上的JavaScript按引用和编写的顺序从上到下依次执行（在页面加载以前）；
onload在页面加载之后执行；


执行结果：head——》footer——》comp]]></description><category></category></item><item><title><![CDATA[选择排序——堆排序]]></title><link>https://blog.youkuaiyun.com/hello_6_world/article/details/78405566</link><guid>https://blog.youkuaiyun.com/hello_6_world/article/details/78405566</guid><author>hello_6_world</author><pubDate>Tue, 31 Oct 2017 18:19:45 +0800</pubDate><description><![CDATA[##堆排序
  堆排序分为两个过程：
1、将原来无序的数列，转化成堆序列（建初识堆的过程）；
2、输出堆顶元素并调整建新堆的过程；
  数据结构伪代码：
typeof SqList HeapType;
void HeapAdjuistI(HeapType &H, int s , int m) {
  rc = H.r(s);
  for(j = 2*s;j<=m;j*=2){//沿key]]></description><category></category></item><item><title><![CDATA[利用before和after设置三角边框]]></title><link>https://blog.youkuaiyun.com/hello_6_world/article/details/78101062</link><guid>https://blog.youkuaiyun.com/hello_6_world/article/details/78101062</guid><author>hello_6_world</author><pubDate>Tue, 26 Sep 2017 16:27:08 +0800</pubDate><description><![CDATA[利用before和after设置两个相同的三角，并通过设置一个为白色一个为黑色，将白色设置在黑色之上，并让白色三角向右移1px,便可出现1px 的三角边框。


实例代码：可复制进html中直接执行
 
  	.test-sal {
  		position: relative;
  		margin: 0 0 0 20px;
  		width: 100px;
  		height: 1]]></description><category></category></item><item><title><![CDATA[HTML5、CSS3实现旋转特效]]></title><link>https://blog.youkuaiyun.com/hello_6_world/article/details/78100216</link><guid>https://blog.youkuaiyun.com/hello_6_world/article/details/78100216</guid><author>hello_6_world</author><pubDate>Tue, 26 Sep 2017 16:19:05 +0800</pubDate><description><![CDATA[利用CSS3的transiton属性，进行控件的旋转，并通过设置旋转时间，实现特效。
实例代码：直接复制进html执行即可 无需引入其他文件

  	.dh {
  		width: 100px;
  		height: 100px;
  		position: relative;
  	}
  	.dh:before, .dh:after {
  		content: "";
  		wid]]></description><category></category></item><item><title><![CDATA[Nodejs初识（一）]]></title><link>https://blog.youkuaiyun.com/hello_6_world/article/details/78062226</link><guid>https://blog.youkuaiyun.com/hello_6_world/article/details/78062226</guid><author>hello_6_world</author><pubDate>Fri, 22 Sep 2017 13:57:42 +0800</pubDate><description><![CDATA[1、安装Nodejs环境，官网下载默认安装（http://nodejs.cn/）。
2、打开cmd，进入dos找到一个你想存储项目的文件夹。（cd 指令打开）
3、安装express，在cmd中输入npm install express进行安装。（window10系统需要利用 超级管理员进行安装 window键+x）
4、安装完express之后，在cmd中输入express -e proj]]></description><category></category></item><item><title><![CDATA[Web存储技术localStorage和sessionStorage的基本用法]]></title><link>https://blog.youkuaiyun.com/hello_6_world/article/details/77915006</link><guid>https://blog.youkuaiyun.com/hello_6_world/article/details/77915006</guid><author>hello_6_world</author><pubDate>Sat, 09 Sep 2017 14:16:21 +0800</pubDate><description><![CDATA[##Web存储技术localStorage和sessionStorage的基本用法
   1、首先对比cookie,早起我们都是利用cookie进行web页面本地存储的相关操作，但是cookie存储的数据量是有限的（少量的）,另外cookie的数据会被上传到服务器，影响服务器传输速度和用户体验；而localStorage和sessionStorage进行数据存储可以存储大量的数据，同时数据不会保]]></description><category></category></item><item><title><![CDATA[VC++6.0 制作标准dll(动态库)]]></title><link>https://blog.youkuaiyun.com/hello_6_world/article/details/52596683</link><guid>https://blog.youkuaiyun.com/hello_6_world/article/details/52596683</guid><author>hello_6_world</author><pubDate>Tue, 20 Sep 2016 15:51:07 +0800</pubDate><description><![CDATA[打开 文件——》新建——》MFC AppWizard[dll] 

剩下的一路默认
在.cpp里面添加
extern "C" _declspec(dllexport)
int PASCAL out_num(int x)
{
    int y;
    char msg[30];
    sprintf(msg,"计算结果：%!",y);
    ::MessageBox(NU]]></description><category></category></item><item><title><![CDATA[SQL 查询语句的处理]]></title><link>https://blog.youkuaiyun.com/hello_6_world/article/details/52279250</link><guid>https://blog.youkuaiyun.com/hello_6_world/article/details/52279250</guid><author>hello_6_world</author><pubDate>Mon, 22 Aug 2016 18:37:56 +0800</pubDate><description><![CDATA[条件数组

select * from table where user_name in ('name1','name2','name3');
等于 = 

select * from table where user_name = @user_name;
不等于 
select * from table where user_name]]></description><category></category></item><item><title><![CDATA[C# DateTime 判断时间是否在某个范围内]]></title><link>https://blog.youkuaiyun.com/hello_6_world/article/details/52213480</link><guid>https://blog.youkuaiyun.com/hello_6_world/article/details/52213480</guid><author>hello_6_world</author><pubDate>Mon, 15 Aug 2016 18:07:08 +0800</pubDate><description><![CDATA[DateTime.Now.Date.ToString("yyyy/MM/dd HH:mm:ss")
今天时间零点零分零秒  例如：2016/08/15 00:00:00
若要判断时间是否在今天 可以判断时间是否在 DateTime.Now.Date.ToString("yyyy/MM/dd HH:mm:ss")  之间DateTime.Now.Date.AddDays(1).ToString(]]></description><category></category></item><item><title><![CDATA[Setup Factory 打包程序 --程序安装前判断本机是否安装.NET Framework和SQL　Server]]></title><link>https://blog.youkuaiyun.com/hello_6_world/article/details/52199640</link><guid>https://blog.youkuaiyun.com/hello_6_world/article/details/52199640</guid><author>hello_6_world</author><pubDate>Sat, 13 Aug 2016 15:37:57 +0800</pubDate><description><![CDATA[.NET Framework 4.0

result = Registry.DoesKeyExist(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\.NETFramework\\policy\\v4.0");

if (result == false) then 
Dialog.Message("提示", "请先安装.net4.0\r\n.net4.]]></description><category></category></item></channel></rss>