自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

A_Bo的博客

不怕别人比你聪明,就怕别人比你聪明还比你努力

  • 博客(4)
  • 收藏
  • 关注

原创 C++原始指针模拟实现reverse函数

写在前面 今天笔试中有一个题目,要求将单词翻转,例如"hx hell1 liwe! asfd",根据空格来划分单词,如果单词中存在非字母,则原样输出,否则翻转输出(不能使用函数库函数) 程序 #include <iostream> #include <algorithm> #include <string> #include <string.h&g...

2019-03-04 21:11:15 1272

原创 1119 Pre- and Post-order Traversals (30 分)

目录 1119Pre- and Post-order Traversals 题目描述 解题思路 程序 1119Pre- and Post-order Traversals 题目描述 Suppose that all the keys in a binary tree are distinct positive integers. A unique binary tree can ...

2019-03-01 16:37:02 2112 5

原创 AVL_tree_1123 Is It a Complete AVL Tree (30 分)

目录 1123Is It a Complete AVL Tree 题目描述 解题思路 程序 1123Is It a Complete AVL Tree 题目描述 An AVL tree is a self-balancing binary search tree. In an AVL tree, the heights of the two child subtrees o...

2019-03-01 13:03:30 351

原创 Eulerian_1126 Eulerian Path (25 分)

目录 1126Eulerian Path 题目描述 解题思路 程序 vector中resize和reserve函数的区别 参考博客 1126Eulerian Path 题目描述 In graph theory, an Eulerian path is a path in a graph which visits every edge exactly once. Simi...

2019-03-01 10:17:49 508

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除