Tagged articles
8 articles
Page 1 of 1
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.

DataStructureFlattenJava
0 likes · 16 min read
Comprehensive Guide to TreeUtil: Building, Traversing, Flattening, and Sorting Tree Structures in Java
php Courses
php Courses
Aug 3, 2023 · Backend Development

Using PHP's next() Function to Traverse Arrays

This article explains PHP's built‑in next() function, its syntax, how it moves an array's internal pointer, returns element values or false, supports optional circular traversal, provides usage examples, and mentions related pointer functions for effective array handling.

ArrayTraversal__next__
0 likes · 4 min read
Using PHP's next() Function to Traverse Arrays
IT Services Circle
IT Services Circle
May 1, 2022 · Frontend Development

A Comprehensive Guide to AST and Babel for JavaScript Code Transformation

This article provides an in‑depth tutorial on Abstract Syntax Trees (AST) and the Babel toolchain, covering AST fundamentals, its role in compilation, and practical examples of parsing, traversing, modifying, and generating JavaScript code using @babel/core, @babel/parser, @babel/traverse, @babel/generator, and @babel/types.

ASTJavaScriptTraversal
0 likes · 24 min read
A Comprehensive Guide to AST and Babel for JavaScript Code Transformation
Python Crawling & Data Mining
Python Crawling & Data Mining
Oct 26, 2020 · Fundamentals

Master Go Arrays: Definitions, Initialization, and Traversal Explained

This article introduces Go arrays, covering their definition as contiguous fixed-length collections of identical types, demonstrates various declaration syntaxes, shows how to initialize arrays with explicit values or automatic length inference, explains traversal techniques using for loops and range, and explores multidimensional arrays with practical code examples.

ArraysGoInitialization
0 likes · 7 min read
Master Go Arrays: Definitions, Initialization, and Traversal Explained
Programmer DD
Programmer DD
Jun 16, 2020 · Backend Development

Which Java ArrayList Traversal Is Fastest? Benchmarks and Best Practices

This article explains Java's ArrayList structure, compares four traversal methods with benchmark code, analyzes their performance across different list sizes, and outlines safe deletion techniques and common pitfalls such as subList casting and concurrency issues.

ArrayListDeletionJava
0 likes · 10 min read
Which Java ArrayList Traversal Is Fastest? Benchmarks and Best Practices
58 Tech
58 Tech
Aug 16, 2019 · Databases

Introduction to Knowledge Graphs and JanusGraph: Architecture, Schema Design, and Traversal

This article explains the rapid development of knowledge graphs, why graph databases like JanusGraph are preferred over relational databases for large‑scale semantic networks, and provides a step‑by‑step guide covering JanusGraph architecture, schema creation, Gremlin traversal language, server deployment, data import, and query examples.

Graph DatabaseGremlinJanusGraph
0 likes · 15 min read
Introduction to Knowledge Graphs and JanusGraph: Architecture, Schema Design, and Traversal