<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[better_space的博客]]></title><description><![CDATA[不经常打开博客，私信评论不能及时看到，请勿私信和进行问题性的评论]]></description><link>https://blog.csdn.net/better_space</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; better_space]]></copyright><item><title><![CDATA[数据结构：C语言实现二叉树的构建以及遍历操作]]></title><link>https://blog.csdn.net/better_space/article/details/81604040</link><guid>https://blog.csdn.net/better_space/article/details/81604040</guid><author>better_space</author><pubDate>Sun, 12 Aug 2018 10:31:54 +0800</pubDate><description><![CDATA[使用二叉链表的存储结构存储二叉树：


typedef struct BinNode{
    int data;
    struct BinNode *lchild;
    struct BinNode *rchild;
}BinNode,*BinTree;
BinTree binTree;

一个简单的结构体存储节点。。

递归的思想实现对二叉树的遍历构建以及查找操作

先序遍历：


v...]]></description><category></category></item><item><title><![CDATA[并查集的使用]]></title><link>https://blog.csdn.net/better_space/article/details/80071702</link><guid>https://blog.csdn.net/better_space/article/details/80071702</guid><author>better_space</author><pubDate>Tue, 24 Apr 2018 22:52:20 +0800</pubDate><description><![CDATA[并查集实际上是数据结构中树的应用，每个子树最终连接到一个根节点上算法实现，包括find()函数--找到子树的根节点，和join（）函数--合并子树find()算法实现:int find(int x) 
{
	int r=x;
	while(r!=pre[r]) 
	{
		r = pre[r];
	}
	int i = x,j = r;
	while(i != r) //路径压缩算法
	{
		j...]]></description><category></category></item><item><title><![CDATA[先序创建二叉树及先序、中序、后序遍历]]></title><link>https://blog.csdn.net/better_space/article/details/79954752</link><guid>https://blog.csdn.net/better_space/article/details/79954752</guid><author>better_space</author><pubDate>Sun, 15 Apr 2018 22:56:56 +0800</pubDate><description><![CDATA[先序二叉树//先序建立二叉树
void createBiTree(BiTree &amp;amp;T){
	int cnt;
	scanf(&quot;%d&quot;,&amp;amp;cnt);
	if(cnt == -1){
		T = NULL;
		return ;
	}
	T = (BiTNode *)malloc(sizeof(BiTNode));
	T-&amp;gt;data = cnt;
	T-&amp;gt;lchild = ...]]></description><category></category></item><item><title><![CDATA[数据结构之队列C语言实现]]></title><link>https://blog.csdn.net/better_space/article/details/79857490</link><guid>https://blog.csdn.net/better_space/article/details/79857490</guid><author>better_space</author><pubDate>Sun, 08 Apr 2018 20:56:59 +0800</pubDate><description><![CDATA[C语言实现循环队列：实现队列需要理解先进先出的思想，可以先看一下数据机构的书籍，不做过多累述定义为顺序表形式。typedef struct{
	Elemtype data[MaxSize];
	int front,rear;
}Queue;MaxSize表示队列最大值，其中front表示队首元素的位置，rear表示队尾元素+1的位置初始化：//初始化队列 
bool InitQueue(Queue...]]></description><category></category></item><item><title><![CDATA[结构体模拟实现栈]]></title><link>https://blog.csdn.net/better_space/article/details/79832881</link><guid>https://blog.csdn.net/better_space/article/details/79832881</guid><author>better_space</author><pubDate>Fri, 06 Apr 2018 13:55:33 +0800</pubDate><description><![CDATA[栈是很基本也很重要的数据结构，这里通过结构体模拟实现顺序栈，使用上节的顺序表实现，还有链栈（使用链表），本篇仅包含顺序栈的实现。我们知道C++的STL中有对栈的实现，直接提供了栈操作的所有函数，使用起来更简洁，但是作为一个好的Programmer，应该是个多面手，只是会用还是不行的。栈的基本思想：先进后出行为：初始化、判空、元素入栈、出栈、销毁栈、栈顶元素入栈思想：top指针先加一再赋值出栈思想：...]]></description><category></category></item><item><title><![CDATA[新数据结构系列]]></title><link>https://blog.csdn.net/better_space/article/details/79825307</link><guid>https://blog.csdn.net/better_space/article/details/79825307</guid><author>better_space</author><pubDate>Thu, 05 Apr 2018 12:20:16 +0800</pubDate><description><![CDATA[        不知不觉已到了大三，为了准备考研，打算写一个数据结构的系列代码，我要保证每天都有一定的代码量，相信在这个过程中一定会有很大的提高。        写这个系列文章的目的，一是为监督自己学习的进度，保持节奏；二是也想记录自己学习的过程，毕竟距离考研还有很长一段时间，早期看过的东西难免会忘，为自己准备一手回顾资料；三是如果正在学数据结构的小伙伴可以参考一下，水平有限难免会有bug，如有错...]]></description><category></category></item><item><title><![CDATA[数据结构线性表之链表]]></title><link>https://blog.csdn.net/better_space/article/details/79825203</link><guid>https://blog.csdn.net/better_space/article/details/79825203</guid><author>better_space</author><pubDate>Thu, 05 Apr 2018 12:03:26 +0800</pubDate><description><![CDATA[C++关于链表的操作，包括建立链表（正序和倒序插入）、输出链表内容、插入节点、删除节点、销毁等操作//单链表基本操作 
#include&amp;lt;cstdio&amp;gt;
#include&amp;lt;cstdlib&amp;gt;
#define ElemType int

typedef struct Node{
	ElemType data;
	struct Node *next;
}LNode,*LinkLi...]]></description><category></category></item><item><title><![CDATA[数据结构线性表之顺序表]]></title><link>https://blog.csdn.net/better_space/article/details/79825132</link><guid>https://blog.csdn.net/better_space/article/details/79825132</guid><author>better_space</author><pubDate>Thu, 05 Apr 2018 11:53:56 +0800</pubDate><description><![CDATA[纯手打顺序表相关操作，包括顺序表的创建、初始化、输出、插入、删除、销毁等，仅供自己回顾使用，可能会有不对的或者不恰当的地方望大家指正，共同学习。 代码如下：//数据结构顺序表 
#include&amp;lt;cstdio&amp;gt;
#include&amp;lt;iostream&amp;gt;
#include&amp;lt;cstdlib&amp;gt;
#define MaxSize 100


using namespace s...]]></description><category></category></item><item><title><![CDATA[关于springMVC无法加载静态资源的问题]]></title><link>https://blog.csdn.net/better_space/article/details/77619911</link><guid>https://blog.csdn.net/better_space/article/details/77619911</guid><author>better_space</author><pubDate>Sun, 27 Aug 2017 13:21:46 +0800</pubDate><description><![CDATA[关于springMVC无法加载静态资源的问题

如何才能让springMVC不去拦截静态资源呢？首先先得了解下“/”与“/*”的区别。

我们大家都知道在使用spring时候需要在web.xml中配置以下代码：
    
    listener>
       listener-class>org.springframework.web.context.ContextLoaderLis]]></description><category></category></item><item><title><![CDATA[Java File类中的list()和listFiles（）方法简介]]></title><link>https://blog.csdn.net/better_space/article/details/77227195</link><guid>https://blog.csdn.net/better_space/article/details/77227195</guid><author>better_space</author><pubDate>Wed, 16 Aug 2017 10:20:52 +0800</pubDate><description><![CDATA[File.list(）返回的是当前文件目录下所有文件和目录的文件名，返回的是String数组。
File.listFile()返回的是当前文件目录下所有文件和目录的绝对路径的集合，返回的是File数组。]]></description><category></category></item><item><title><![CDATA[JSP 中EL表达式用法详解]]></title><link>https://blog.csdn.net/better_space/article/details/76345280</link><guid>https://blog.csdn.net/better_space/article/details/76345280</guid><author>better_space</author><pubDate>Sat, 29 Jul 2017 18:00:37 +0800</pubDate><description><![CDATA[JSP 中EL表达式用法详解


EL 全名为Expression Language
EL 语法很简单，它最大的特点就是使用上很方便。接下来介绍EL主要的语法结构：
${sessionScope.user.sex}
所有EL都是以${为起始、以}为结尾的。上述EL范例的意思是：从Session的范围中，取得
用户的性别。假若依照之前JSP Scriptlet的写法如下：
User]]></description><category></category></item><item><title><![CDATA[/与./和../的区别]]></title><link>https://blog.csdn.net/better_space/article/details/73488366</link><guid>https://blog.csdn.net/better_space/article/details/73488366</guid><author>better_space</author><pubDate>Tue, 20 Jun 2017 12:04:03 +0800</pubDate><description><![CDATA[/是指根目录，
./是当前目录，
../指上一个目录，
还有默认情况下也是当前目录。]]></description><category></category></item><item><title><![CDATA[解决jsp页面URL传值中文乱码问题]]></title><link>https://blog.csdn.net/better_space/article/details/72123961</link><guid>https://blog.csdn.net/better_space/article/details/72123961</guid><author>better_space</author><pubDate>Mon, 15 May 2017 11:52:51 +0800</pubDate><description><![CDATA[我们知道url传值时英文是没有任何问题的正常编码，然而如果参数的值为汉语就会出现乱码的情况，最后接收到的结果可能就是一连串的问号(??);以下解决：
例如：
String url = “用户名或密码错误”；
对url进行编码：	String message = URLEncoder.encode(url,"utf-8");//此处可以用“gb2312”
输出：	System.out.print]]></description><category></category></item><item><title><![CDATA[GitHub for Windows 安装失败，An error occurred attempting to install github 的解决办法]]></title><link>https://blog.csdn.net/better_space/article/details/53737255</link><guid>https://blog.csdn.net/better_space/article/details/53737255</guid><author>better_space</author><pubDate>Mon, 19 Dec 2016 11:35:01 +0800</pubDate><description><![CDATA[解决办法：

只需要将

http://github-windows.s3.amazonaws.com/GitHub.application


http改为https，然后在IE上打开,安装即可




问题如下




前段时间重装windows后，github就用不了，现在想重装，一直遇到一个问题。

提示如下an error occured attem]]></description><category></category></item><item><title><![CDATA[初次登陆MySQL修改密码是出现Unknown column 'password' in 'field list'的解决方法]]></title><link>https://blog.csdn.net/better_space/article/details/53523353</link><guid>https://blog.csdn.net/better_space/article/details/53523353</guid><author>better_space</author><pubDate>Thu, 08 Dec 2016 20:13:21 +0800</pubDate><description><![CDATA[刚开始接触MySQL，对着方面的知识不太了解，以至于安装MySQL的过程中处处碰壁，这篇博客是转载的大牛的博客解决了我今天学习的过程中碰到的最后一个问题，拯救苦苦思索中的小伙伴们。
MySQL启动报错：http://blog.sina.com.cn/s/blog_a0d0fbbd01016b1j.html
成功安MySQL装后服务管理器找不到MySQL服务名：http://blog.sina.]]></description><category></category></item><item><title><![CDATA[java集合框架]]></title><link>https://blog.csdn.net/better_space/article/details/53303845</link><guid>https://blog.csdn.net/better_space/article/details/53303845</guid><author>better_space</author><pubDate>Wed, 23 Nov 2016 12:45:31 +0800</pubDate><description><![CDATA[public class Main{
    public static void main(String []args){
        Map map = new HashMap();
        map.put("1","value1");
        map.put("2","value2");
        map.put("3","value3");
        //第]]></description><category></category></item><item><title><![CDATA[java实现随机输出26个英文大写字母]]></title><link>https://blog.csdn.net/better_space/article/details/53257374</link><guid>https://blog.csdn.net/better_space/article/details/53257374</guid><author>better_space</author><pubDate>Mon, 21 Nov 2016 11:24:56 +0800</pubDate><description><![CDATA[Math类给我们提供了很多现成的方法来方便我们的使用，如：
double max(参数1，参数2)（参数包括double，float，int，long等多种数据类型）；
double min(参数1 ，参数2)（参数包括double，float，int，long等多种类型，返回值参数类型相同）；
double round(float a or double a)(四舍五入取整）；
doub]]></description><category></category></item><item><title><![CDATA[java的图形界面输入]]></title><link>https://blog.csdn.net/better_space/article/details/53171014</link><guid>https://blog.csdn.net/better_space/article/details/53171014</guid><author>better_space</author><pubDate>Tue, 15 Nov 2016 14:49:15 +0800</pubDate><description><![CDATA[瞬间高大上了，其实也很简单；


要实现图形界面就要调用javax.swing包中的类和方法；
JOptionPane包只是其中之举例；
程序截图：
输入：


输出：


package main;
import javax.swing.*;
public class Main{
    public static void main(String []args){]]></description><category></category></item><item><title><![CDATA[java数据结构之——Stack（栈）]]></title><link>https://blog.csdn.net/better_space/article/details/53103283</link><guid>https://blog.csdn.net/better_space/article/details/53103283</guid><author>better_space</author><pubDate>Wed, 09 Nov 2016 18:30:14 +0800</pubDate><description><![CDATA[数据结构是通用的，就是遵循数据的“先进后出”原则，很简单。
一些Stack类中的方法比如：push（），pop（）等常用的自己学习一下，简单的应用就水到渠成了，检验一下容易在细节上出错的地方。
import java.util.*;

public class Main{
    static void showpush(Stack st,int a){
        st.push(a);]]></description><category></category></item><item><title><![CDATA[【hdoj1215】七夕节]]></title><link>https://blog.csdn.net/better_space/article/details/53098551</link><guid>https://blog.csdn.net/better_space/article/details/53098551</guid><author>better_space</author><pubDate>Wed, 09 Nov 2016 12:41:48 +0800</pubDate><description><![CDATA[七夕节
Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 42697    Accepted Submission(s): 13612


Problem Description
七夕节那天,月老来到数字王国,他在城门上贴了一张]]></description><category></category></item></channel></rss>