<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[cdwzl的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/cdwzl</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; cdwzl]]></copyright><item><title><![CDATA[二叉搜索树基本操作实现（python）创捷 、遍历（递归、非递归）、查找、删除等]]></title><link>https://blog.csdn.net/cdwzl/article/details/115798407</link><guid>https://blog.csdn.net/cdwzl/article/details/115798407</guid><author>cdwzl</author><pubDate>Sat, 17 Apr 2021 17:19:05 +0800</pubDate><description><![CDATA[二叉搜索树基本操作实现（python）

创捷、遍历（递归、非递归）、查找、删除等（有问题请指出，谢谢哈！）


#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Date    : 2021-04-17
# @Author  : dwchen
# @Link    : 
# @Version : 
"""二叉搜索树BST（二叉排序树、二叉查找树）binary search tree介绍
二叉搜索树或者是一棵空树，或者是具有下列性质的二叉树：
（1）若左子树.]]></description><category></category></item><item><title><![CDATA[消去无序数组中的重复元素（c语言）]]></title><link>https://blog.csdn.net/cdwzl/article/details/88650573</link><guid>https://blog.csdn.net/cdwzl/article/details/88650573</guid><author>cdwzl</author><pubDate>Mon, 18 Mar 2019 21:29:13 +0800</pubDate><description><![CDATA[当然，先排序再删除肯定可以。

现在说的情况是就是无序的状态，不给排序删除。时间复杂度有点高，可以优化。如有错误请告知本人啊！！！

代码如下：




#include&lt;stdio.h&gt;


int elimination(int a[], int count){ //去除数组中重复的元素
	int i, j, k;

	for (i = 0; i &lt; count; i++)...]]></description><category></category></item><item><title><![CDATA[数据结构 图的邻接表  深度优先遍历（DFS）(C语言版)]]></title><link>https://blog.csdn.net/cdwzl/article/details/88584204</link><guid>https://blog.csdn.net/cdwzl/article/details/88584204</guid><author>cdwzl</author><pubDate>Fri, 15 Mar 2019 21:17:17 +0800</pubDate><description><![CDATA[当图为稀疏图时，使用邻接矩阵就会浪费很大的存储空间。

这时，图的邻接表法就派上用场了，大大减少了不必要的浪费，

并且可以更方便地增删边。

下面附上图的邻接表实现代码，以及在此基础上的DFS.




/*图的邻接表+深度优先遍历（DFS）(顶点表中顶点序号从0开始)*/

/*注意顶点序号从0开始，如果不注意可能出现越界的错误*/
#include&amp;lt;stdio.h&amp;gt;
#incl...]]></description><category></category></item><item><title><![CDATA[数据结构 图的邻接矩阵存储  BFS  (C语言实现)]]></title><link>https://blog.csdn.net/cdwzl/article/details/88579223</link><guid>https://blog.csdn.net/cdwzl/article/details/88579223</guid><author>cdwzl</author><pubDate>Fri, 15 Mar 2019 17:22:23 +0800</pubDate><description><![CDATA[图的邻接矩阵存储，以及在此基础上实现的广度优先遍历（BFS）。

如有错误，请帮忙指出啦！！！

喜欢的话点个赞呗！！！




/*图的邻接矩阵+广度优先遍历*/
#include&amp;lt;stdio.h&amp;gt;
#include&amp;lt;stdlib.h&amp;gt;

#define INFINITE 65535
#define MaxSize 100

typedef char VertexTyp...]]></description><category></category></item><item><title><![CDATA[数据结构 顺序栈的基本操作  C语言]]></title><link>https://blog.csdn.net/cdwzl/article/details/88541904</link><guid>https://blog.csdn.net/cdwzl/article/details/88541904</guid><author>cdwzl</author><pubDate>Wed, 13 Mar 2019 21:25:28 +0800</pubDate><description><![CDATA[复习过程回顾数据结构




/*顺序栈*/
#include&amp;lt;stdio.h&amp;gt;

#define MaxSize 50 //定义栈中元素的最大个数
typedef int ElemType;

typedef struct{
	ElemType data[MaxSize];
	int top;  //栈顶指针，始终指向栈顶元素，初始化为-1
}SqStack;

void Init...]]></description><category></category></item><item><title><![CDATA[数据结构 顺序表的基本操作实现  c语言]]></title><link>https://blog.csdn.net/cdwzl/article/details/88541166</link><guid>https://blog.csdn.net/cdwzl/article/details/88541166</guid><author>cdwzl</author><pubDate>Wed, 13 Mar 2019 20:55:02 +0800</pubDate><description><![CDATA[复习过程中的回顾（纯C语言版），如有不足，请批评指正。


/*顺序表*/
#include&amp;lt;stdio.h&amp;gt;
#include&amp;lt;stdlib.h&amp;gt;

#define ElemType int 
#define INITSIZE 80
#define INCRESEMENT 10

typedef struct{
	ElemType *elem;  //动态申请空间
	in...]]></description><category></category></item><item><title><![CDATA[数据结构 单链表基本操作实现 C语言]]></title><link>https://blog.csdn.net/cdwzl/article/details/88540803</link><guid>https://blog.csdn.net/cdwzl/article/details/88540803</guid><author>cdwzl</author><pubDate>Wed, 13 Mar 2019 20:39:27 +0800</pubDate><description><![CDATA[个人复习过程中的回顾，有问题请与我交流。（纯c语言版，未用到c++的引用）


/*单链表（含头结点）*/
#include&amp;lt;stdio.h&amp;gt;
#include&amp;lt;stdlib.h&amp;gt;

//#define ElemType int

typedef int ElemType;

typedef struct LNode{
	ElemType data;
	struct LNo...]]></description><category></category></item><item><title><![CDATA[C# 实体转成json,其中实体类中有字典Dictionary,遇到的问题，以及最终解决（Json序列化、反序列化之Dictionary 字典类型）]]></title><link>https://blog.csdn.net/cdwzl/article/details/86629443</link><guid>https://blog.csdn.net/cdwzl/article/details/86629443</guid><author>cdwzl</author><pubDate>Thu, 24 Jan 2019 16:49:28 +0800</pubDate><description><![CDATA[实习过程中的一个项目环节，是我之前没接触过的-------------实体转json，然后服务器客户端json传值

在实体转json 的时候遇到了一个问题，实体类中有字典类型的字段，用其他方法将实体对象转json总是报错，后来用


            string str = JsonConvert.SerializeObject(dic);

  这个方法成功解决，其中参数dic是一个包...]]></description><category></category></item><item><title><![CDATA[sql server中的char,nchar,varchar,nvarchar几种类型的区别]]></title><link>https://blog.csdn.net/cdwzl/article/details/86566999</link><guid>https://blog.csdn.net/cdwzl/article/details/86566999</guid><author>cdwzl</author><pubDate>Sun, 20 Jan 2019 22:21:52 +0800</pubDate><description><![CDATA[（1）       定义：

char：    固定长度，存储ANSI字符，不足的补英文半角空格。

nchar：   固定长度，存储Unicode字符，不足的补英文半角空格

varchar：  可变长度，存储ANSI字符，根据数据长度自动变化。

nvarchar： 可变长度，存储Unicode字符，根据数据长度自动变化。

 

含有var就说明是可变的，动态的。

固定长度就是位数确定，例...]]></description><category></category></item><item><title><![CDATA[Ajax请求中的async:false/true的作用]]></title><link>https://blog.csdn.net/cdwzl/article/details/86540067</link><guid>https://blog.csdn.net/cdwzl/article/details/86540067</guid><author>cdwzl</author><pubDate>Fri, 18 Jan 2019 14:59:15 +0800</pubDate><description><![CDATA[官方的解释是：http://api.jquery.com/jQuery.ajax/

async Boolean Default: true 

By default, all requests are sent asynchronous (e.g. this is set to true by default). If you need synchronous requests, set thi...]]></description><category></category></item><item><title><![CDATA[在配置文件中设置数据库连接字符串，供全局使用]]></title><link>https://blog.csdn.net/cdwzl/article/details/86537012</link><guid>https://blog.csdn.net/cdwzl/article/details/86537012</guid><author>cdwzl</author><pubDate>Fri, 18 Jan 2019 11:35:22 +0800</pubDate><description><![CDATA[工具：sql server2014 , vs2013

在项目中找到Web.config文件中找到&amp;lt;connectionStrings&amp;gt;&amp;lt;/connectionStrings&amp;gt;

在其中add连接字符串

    &amp;lt;add name=&quot;MainConnString&quot; connectionString=&quot;user id=账号;pwd=密码;server=服务器名;per...]]></description><category></category></item></channel></rss>