Tag

tree

0 views collected around this technical thread.

Code Ape Tech Column
Code Ape Tech Column
Aug 15, 2024 · Backend Development

Comprehensive Guide to TreeUtil: Building, Traversing, Flattening, and Sorting Tree Structures in Java

This article presents a detailed walkthrough of the TreeUtil class, demonstrating how to construct hierarchical tree structures from flat lists, define tree nodes in Java, perform generic and functional implementations of makeTree, traverse trees using pre‑order, level‑order and post‑order methods, flatten trees back to lists, and sort tree nodes recursively, all illustrated with complete code examples.

DataStructureFlattenSorting
0 likes · 16 min read
Comprehensive Guide to TreeUtil: Building, Traversing, Flattening, and Sorting Tree Structures in Java
Selected Java Interview Questions
Selected Java Interview Questions
Jul 29, 2024 · Fundamentals

Comprehensive Guide to TreeUtil: Building, Traversing, Flattening, and Sorting Tree Structures in Java

This article introduces a versatile Java TreeUtil class that demonstrates how to construct hierarchical tree structures from flat lists, perform pre-order, level-order, and post-order traversals, flatten trees back to lists, and sort nodes using generic functional interfaces, with detailed code examples.

DataStructureJavaUtility
0 likes · 16 min read
Comprehensive Guide to TreeUtil: Building, Traversing, Flattening, and Sorting Tree Structures in Java
Architect
Architect
Apr 15, 2022 · Backend Development

Designing a Flexible Workflow Engine: From Simple Chains to Complex Nested Nodes

This article narrates the step‑by‑step evolution of a workflow engine, starting with a basic sequential approver list and progressively adding countersign, parallel, conditional, delegation, timeout, scripting, and nesting capabilities, illustrating a tree‑based architecture and node‑state management for robust backend process automation.

approvalarchitecturebackend
0 likes · 10 min read
Designing a Flexible Workflow Engine: From Simple Chains to Complex Nested Nodes
Tencent Music Tech Team
Tencent Music Tech Team
Oct 1, 2021 · Frontend Development

Tree and View Systems Across Web, Android, iOS, and Flutter

These articles compare how Web, Android, iOS, and Flutter represent UI structures—detailing the DOM and Virtual DOM creation, diffing, and rendering on the Web, and the XML‑based layout inflation, view hierarchy, styling, and drawing pipeline on Android—to help front‑end developers grasp each platform’s tree‑based architecture.

AndroidFlutterView System
0 likes · 11 min read
Tree and View Systems Across Web, Android, iOS, and Flutter
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 13, 2021 · Fundamentals

Understanding Trees, Binary Trees, AVL Trees, and Red-Black Trees: Concepts, Properties, and Operations

This article explains the fundamentals of tree data structures—including general trees, binary trees, AVL balanced trees, and red‑black trees—covering their definitions, node types, properties, rotation techniques, and insertion and deletion algorithms with illustrative code examples.

AlgorithmsBinary TreeData Structures
0 likes · 17 min read
Understanding Trees, Binary Trees, AVL Trees, and Red-Black Trees: Concepts, Properties, and Operations
Java Captain
Java Captain
Mar 13, 2021 · Backend Development

Designing a Flexible Workflow Engine: From Simple Chains to Complex Nested Nodes

The article chronicles the step‑by‑step evolution of a custom workflow engine, detailing how sequential approvals, countersign, parallel, conditional, delegation, timeout, rejection, nesting, and scripting features were incrementally added to support increasingly complex business processes.

State Machineapprovalbackend
0 likes · 9 min read
Designing a Flexible Workflow Engine: From Simple Chains to Complex Nested Nodes
Selected Java Interview Questions
Selected Java Interview Questions
May 26, 2020 · Fundamentals

Eight Common Data Structures Every Programmer Should Know

This article introduces eight fundamental data structures—arrays, linked lists, stacks, queues, hash tables, trees, heaps, and graphs—explaining their definitions, core operations, typical applications, and visual illustrations to help programmers master essential concepts for software development and technical interviews.

Data StructuresLinked ListStack
0 likes · 12 min read
Eight Common Data Structures Every Programmer Should Know
Beike Product & Technology
Beike Product & Technology
Mar 23, 2018 · Backend Development

Designing a Tree‑Based Comment System with C Data Structures

This article explains how to model a comment system as a tree structure, defines node attributes and enums in C, and discusses handling deletions, replies, and conversation lists while keeping the data model extensible for future features.

C programmingData Structuresbackend design
0 likes · 6 min read
Designing a Tree‑Based Comment System with C Data Structures