Tagged articles
algorithm analysis
16 articles · Page 1 of 1
The article explains how DQN’s use of the max operator introduces a maximization bias that leads to overestimated Q‑values, and shows how Double DQN separates action selection from value evaluation to eliminate this bias, improving stability and performance in Atari benchmarks.
DQNDouble DQNalgorithm analysis
0 likes · 7 min read

This article traces the evolution of computers from philosophical logic to modern digital circuits, explains how logical gates enable computation, introduces bitwise operators with practical code examples, and analyzes a coupon‑code generation algorithm that combines masking, shifting, and XOR operations for secure identifier creation.
Low-Level Programmingalgorithm analysisbitwise-operators
0 likes · 12 min read

This tutorial explains how n-step temporal‑difference (TD) algorithms generalize the one‑step TD and Monte‑Carlo methods, presents the n‑step return update rule, walks through a three‑step TD example, shows how Sarsa and Q‑learning can be extended, and discusses how to choose the optimal n value for a given problem.
Monte CarloQ-Learningalgorithm analysis
0 likes · 9 min read

This article explains the distinction between preemptive and non‑preemptive scheduling and provides a concise overview of common process scheduling algorithms—including FCFS, SJF, HRRN, Round‑Robin, priority and multilevel feedback queue—highlighting their principles, advantages, and drawbacks.
Process Schedulingalgorithm analysisnon-preemptive scheduling
0 likes · 7 min read

This article walks through the mathematics of Bloom filters, showing how to model false‑positive probability, derive optimal bit array size and hash‑function count, and apply the formulas to a 4‑million‑item dataset with concrete examples and performance tables.
Bloom FilterFalse positivealgorithm analysis
0 likes · 11 min read

The article demystifies Java’s Arrays.sort by tracing its call to TimSort.sort, explaining how the hybrid Timsort algorithm blends merge and insertion sorts, determines minimum run lengths, partitions and merges runs, addresses implementation bugs such as stack allocation and comparator misuse, and celebrates its elegant, efficient design.
Arrays.sortJDKJava
0 likes · 15 min read

This article explains the merge sort algorithm in detail, covering its divide‑and‑conquer principle, step‑by‑step process with illustrative examples, a complete C implementation, and an analysis of its time and space complexities and suitable use cases.
Divide and ConquerSorting Algorithmalgorithm analysis
0 likes · 7 min read

This comprehensive guide walks Java programmers through the ten classic sorting algorithms—bubble, quick, insertion, shell, selection, heap, merge, bucket, counting, and radix—detailing their principles, stability, time and space complexities, and providing clear Java implementations for each.
ComplexitySorting Algorithmsalgorithm analysis
0 likes · 21 min read

This article explains the concept of constant‑time operations, introduces Big O notation for describing algorithmic time complexity, and demonstrates how to calculate and interpret complexities such as O(1), O(N), O(N²) and O(N²·logN) through clear Java code examples.
Big OJavaalgorithm analysis
0 likes · 7 min read

The article surveys traditional elevator dispatching methods such as FCFS, SSTF, SCAN, LOOK, and SATF, then examines real‑time strategies like EDF, SCAN‑EDF, PI, and FD‑SCAN, and concludes with a discussion of modern group‑control research and detailed system requirement analysis.
Operations Researchalgorithm analysisdispatch algorithms
0 likes · 9 min read

This article explains the quicksort algorithm—its history, divide‑and‑conquer principle, detailed Python implementations, performance analysis, and practical optimizations for small data sets—providing clear examples and interview‑ready code for developers.
Code ExampleDivide and ConquerSorting Algorithm
0 likes · 9 min read

This article provides a detailed, step‑by‑step walkthrough of ten widely used sorting algorithms—including bubble, selection, insertion, shell, merge, quick, heap, counting, bucket, and radix sorts—explaining their principles, visualizing each pass, analyzing time and space complexities, and presenting complete Java code examples for every method.
ComplexityJavaSorting Algorithms
0 likes · 33 min read

This article walks through the reverse‑engineering of a compact JavaScript one‑liner that draws a patterned image, refactors it into readable modules, explains each transformation—including variable renaming, loop conversion, ternary expansion, bitwise operations, and switch‑case replacement—while illustrating the underlying math with graphs and code snippets.
Frontend DevelopmentHTMLJavaScript
0 likes · 18 min read

This article introduces eight fundamental internal sorting algorithms—Insertion, Shell, Selection, Bubble, Merge, Quick, Heap, and Radix—explaining their principles, step‑by‑step procedures, time and space complexities, and stability characteristics to help readers choose the right method for different data sets.
Sorting Algorithmsalgorithm analysisdata structures
0 likes · 14 min read


21CTOFeb 16, 2016 · Fundamentals
The article explores how mathematical thinking—ideas, techniques, and abstraction—underpins software architecture, shaping problem‑solving, modeling, and design, and argues that a solid mathematical foundation can elevate an architect’s ability to create elegant, scalable systems.
algorithm analysismathematicsmodeling
0 likes · 15 min read

This article explains the fundamental concepts of greedy algorithms, outlines their basic design steps, discusses the conditions under which they yield optimal solutions, presents an implementation framework, and analyzes a knapsack problem example that illustrates common greedy strategies and their limitations.
algorithm analysisgreedy algorithmknapsack problem
0 likes · 6 min read
