Tagged articles
Collision
12 articles · Page 1 of 1
This article details how Ant Security's frontend team developed an AR sandbox for the Bund Conference using a self‑crafted 3D marker algorithm, covering framework selection, model conversion, coordinate handling, collision setup, lighting, animation control, and performance optimizations for iOS devices.
3D markerARCollision
0 likes · 25 min read

This article explains how hash tables store key‑value pairs as array entries, describes hash collisions when different keys map to the same index, and outlines two common resolution methods—open addressing and chaining—while also providing visual illustrations and practical insights.
Collisionchainingdata structures
0 likes · 4 min read

This article explains how Java's HashMap stores key‑value pairs using an array of nodes, how hash functions map keys to array indices, how collisions are handled with linked lists and red‑black trees, and why proper hashCode implementations are crucial for performance.
CollisionHashMapdata structure
0 likes · 20 min read

This article explains how Java's HashMap stores key‑value pairs using an array‑plus‑linked‑list structure, details the hash function, index calculation, collision handling, resizing, and the conditions under which linked lists are replaced by red‑black trees, illustrated with concrete code examples.
CollisionHashMapRed-Black Tree
0 likes · 20 min read

This guide demonstrates how to enable touch‑based movement for a hero character, add directional walking animations, integrate animation logic, and implement physics‑based collision detection with walls in Cocos Creator, including code snippets for event handling, animation state management, and physics component setup.
Cocos CreatorCollisionPhysics
0 likes · 18 min read

This tutorial explains how to use the Tiled map editor to design tile‑based levels, import and configure the generated maps in a Cocos Creator project, add animations, replace maps, and switch to curve‑based collision walls for smoother gameplay.
Cocos CreatorCollisionTiled
0 likes · 16 min read

This article explains the internal structure of Java's HashMap, how it computes hash codes, resolves collisions using chaining, the impact of load factor and capacity on performance, and provides detailed source code analysis of its key methods such as put, get, resize, and entry handling.
CollisionHashMapJava
0 likes · 22 min read

This step‑by‑step guide shows how to create a simple “merge watermelon” HTML5 game using Phaser 3, TypeScript, and Matter.js physics, covering project setup, asset loading, fruit creation, input handling, collision logic, scoring, and game‑over detection.
CollisionHTML5Matter.js
0 likes · 10 min read

This article explains the internal structure of Java's HashMap, covering its array‑plus‑linked‑list‑plus‑red‑black‑tree implementation, hash function and collision resolution, the detailed put operation, resizing mechanics, and considerations for thread‑safe usage.
CollisionDataStructureHashFunction
0 likes · 10 min read

This article provides a comprehensive overview of Java's HashMap, covering its place in the Set and Map families, internal implementation details, the relationship between hashCode() and equals(), collision resolution strategies, basic operations, differences from Hashtable, and several classic interview problems such as Top‑K frequency and LRU cache design.
CollisionHashMapInterview
0 likes · 14 min read

This article explains how hashing transforms data lookup from linear or logarithmic time to constant O(1) time by using hash functions and hash tables, illustrates the concept with a simple modulo‑based example, and discusses load factor and collision issues.
CollisionO(1) lookuphash table
0 likes · 5 min read

This article explains how Java's HashMap stores key‑value pairs, details the hash calculation, index mapping, collision handling via linked lists, the role of load factor, resizing mechanics, and provides annotated source code for core methods such as put, get, and internal Entry class.
CollisionDataStructureHashMap
0 likes · 21 min read
