Skip to navigation Skip to content
Simon Technology Blog
  • Architecture
  • Cloud
  • Database
  • Develop
  • Hardware
  • Industry
  • Language
  • Mobile
  • Opensource
  • OS
  • Web
Main Navigation

Tag: Tree

[Data Structure] The rotation and insertion of the AVL tree

AVL tree

Left single rotation

Code implementation

void _RotateL(Node* parent) {Node* subR=parent->_right; Node* subRL=subR->_left; Node* ppNode=parent- >_parent; subR->_left=paren

October 15, 2021By Simo Data Structure AVL, Data Structure, insertion, rotation, TreeLeave a Comment

[Data Structure] Delete, Insert, and Finding of Binary Search Tree

The meaning of a binary search tree is that the value of each left child in this binary tree is smaller than its parent node, and the value of each right child is smaller than the parent node An or

October 15, 2021By Simo Data Structure Data Structure, delete, Find, Fork, INSERT, search, Tree, twoLeave a Comment

[Data Structure] AVL Tree

AVL tree is a balanced search binary tree, which satisfies the nature of search tree (see article on binary search tree, link : Binary search tree), and meets the balance tree

Nature (left an

October 15, 2021By Simo Data Structure AVL, Data Structure, TreeLeave a Comment

HDU 4046 Panda [tree array] [data structure]

Subject link: http://acm.hdu.edu.cn/showproblem.php?pid=4046

——————— ——————————————.

Panda

Time Limit: 10000/4000 MS (Java/Others) Memory Limit: 32768/32768 K ( Java/Others)
Tot

October 15, 2021By Simo Data Structure array, Data Structure, HDU, PANDA, TreeLeave a Comment

[Data Structure] SEGMENT TREE

Suppose we now have a very For large arrays, two operations must be performed repeatedly for the numbers in the array.

1, (query) randomly select an interval in this array, and find the sum o

October 15, 2021By Simo Data Structure Data Structure, line segment, Segment, TreeLeave a Comment

[Data Structure] AVL tree detailed

1. What is an AVL tree? AVL tree is also called balanced binary search tree. It can ensure the relative balance of the height of the binary tree, reduce the height of the binary tree as much as po

October 15, 2021By Simo Data Structure AVL, Data Structure, detailed explanation, TreeLeave a Comment

[Data Structure] Establish Hufman Tree by Pile

Build a heap

#pragma once #include #include using namespace std;// Small pile templatestruct Less{ bool operator() (const T& l, const T& r) {return l struct Greater{ bool operator() (const T

October 15, 2021By Simo Data Structure build, Data Structure, HA, husband, Man, pile, Tree, utilizationLeave a Comment

[Data Structure] Tree and Binary Tree

Tree

Tree is a typical nonlinear data structure, It can be well applied to data collections that describe branching and hierarchical characteristics. It is a limited collection T composed of

October 15, 2021By Simo Data Structure binary tree, Data Structure, TreeLeave a Comment

Poj 2828 Buy Tickets [Single Tree – Single Update] [Data Structure] [Good Top]

Subject link: http://poj.org/problem?id=2828

————————————— —————-.
Buy Tickets
Time Limit: 4000MS Memory Limit: 65536K
Total Submissions: 18998 Accepted: 9435
Description

Railwa

October 15, 2021By Simo Data Structure Buy, Data Structure, good quest, line segment, POJ, single point, tickets, Tree, UpdateLeave a Comment

[Data Structure] Finding of Binary Trees and Calculation of Knights

The previous blog has basically introduced the basic algorithm of the binary tree. This article mainly introduces the search of nodes in the binary tree and the number of subtrees in the Kth row.

October 15, 2021By Simo Data Structure and first, binary tree, Calculation, Data Structure, lookup, Number, Row, TreeLeave a Comment

Posts navigation

Page 1 Page 2 Page 3 Page 4 Page 5
Recent Posts
  • Sencha-Touch-2 – Sencha Touch 2, Nested XML Analysis NodeValue
  • Add a separation line and format XML content
  • Is there a norm of simplified XML subsets?
  • Look at it when you write React
  • ReactJS – Present React Redux React-Router App to add the server to the Firebase hosted by the Firebase
Categories
  • Android
  • Apache
  • Apache Kafka
  • Asp
  • Auto-Test
  • Automated Build
  • Aws
  • Bitcoin
  • Browser
  • C & C++
  • C#
  • Centos
  • Cgi
  • Character
  • Cloud Service
  • Cocos2dx
  • Cordova
  • CSS
  • Data Structure
  • Delphi
  • Design Pattern
  • Dojo
  • Dubbo
  • ELK
  • Flex
  • football
  • Game
  • Hadoop
  • Hibernate
  • HTML
  • Hybrid
  • Intel
  • IOS
  • Ipad
  • iPhone
  • Java
  • Javascript
  • Jetty
  • JQuery
  • Jsp
  • Linux
  • Load Balance
  • Lua
  • Macbook
  • Macos
  • Mathematics
  • Micro Services
  • Monitoring
  • Motherboard
  • Mysql
  • Network Hardware
  • Network Marketing
  • Nginx
  • NodeJs
  • Nosql
  • Oracle
  • Os Theory
  • Performance
  • PHP
  • Postgresql
  • Power Designer
  • React
  • Redis
  • Regexp
  • Rom
  • Rss
  • Ruby
  • Search Engines
  • Shell Script
  • Silicon Valley
  • Silverlight
  • Software Design
  • Spring
  • Sql
  • Sqlite
  • Sqlserver
  • Storage
  • Storm
  • Surface
  • SVN
  • Swift
  • System Architecture
  • Tablet
  • Uncategorized
  • Unix
  • Visual Basic
  • Visual Studio
  • Web Crawler
  • WebService
  • Windows
  • Wireless
  • XML
  • ZooKeeper
Archives
  • October 2021
  • September 2021
  • August 2021
  • May 2021
  • April 2021
  • September 2020
  • September 2019
  • August 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
© Simon Technology Blog 2025 • ThemeCountry Powered by WordPress