//bf=右子树-左子树,删除时用左子树的中序最后一个结点填充 #include<iostream> #include<stack> #include<queue> using namespace std; struct Node{ int bf; int data; Node* left; Nod Read More
posted @ 2020-07-28 17:41 执着于风 Views(122) Comments(0) Diggs(0)
#include<iostream> #include<algorithm> using namespace std; struct Item{ int w,d; //w体积,d价值 }; Item items[3500]; int f[13000]; //j个空间的能装的最大价值f[j] int Read More
posted @ 2020-07-28 17:39 执着于风 Views(104) Comments(0) Diggs(0)
#include<iostream> #include<queue> #include<stack> using namespace std; struct BinaryTreeNode { char data; BinaryTreeNode* leftChild; BinaryTreeNode* Read More
posted @ 2019-09-10 17:57 执着于风 Views(827) Comments(0) Diggs(0)
好好学习,天天向上,愿我数年后仍然有一头浓密的头发! Read More
posted @ 2019-05-24 23:20 执着于风 Views(106) Comments(0) Diggs(0)