Tagged articles
15 articles
Page 1 of 1
Lisa Notes
Lisa Notes
Mar 23, 2026 · Fundamentals

Master Java Loop Statements: From Basics to Practical Examples

This article explains Java's loop constructs—including while, do‑while, for, nested loops, foreach, and bubble‑sort implementations—through detailed syntax descriptions, step‑by‑step execution processes, and multiple concrete code examples with expected outputs.

JavaLoop Statementsbubble sort
0 likes · 16 min read
Master Java Loop Statements: From Basics to Practical Examples
Lisa Notes
Lisa Notes
Mar 19, 2026 · Fundamentals

Python Basics: Using break, continue, and Nested Loops

This tutorial explains how break and continue control loop execution in Python, provides concrete while‑loop examples with their outputs, and demonstrates both for‑ and while‑based nested loops for printing multi‑row patterns, illustrating syntax and behavior step by step.

Pythonbreakcontinue
0 likes · 4 min read
Python Basics: Using break, continue, and Nested Loops
Java Architect Essentials
Java Architect Essentials
Jul 14, 2025 · Backend Development

Boost Java Loop Performance: From Nested Loops to Map Lookup

This article demonstrates how replacing a naïve double‑for‑loop that matches IDs between two large Java lists with a HashMap lookup dramatically reduces execution time, explains the underlying time‑complexity reasons, and provides concrete code examples for both approaches.

HashMapnested loopsoptimization
0 likes · 8 min read
Boost Java Loop Performance: From Nested Loops to Map Lookup
macrozheng
macrozheng
Dec 16, 2024 · Backend Development

Boost Java Loop Performance: Replace Nested Loops with a HashMap

This article demonstrates how to dramatically speed up Java code that matches items between two large lists by eliminating nested loops, using early‑exit with break and, more effectively, pre‑building a HashMap for O(1) lookups, with concrete timing results and full code examples.

Backend DevelopmentHashMapJava
0 likes · 8 min read
Boost Java Loop Performance: Replace Nested Loops with a HashMap
Architecture Digest
Architecture Digest
Apr 14, 2024 · Backend Development

Optimizing Nested Loops in Java: From O(N²) to O(N) Using HashMap

This article demonstrates how to replace a costly double‑for‑loop that matches two large lists of users with a HashMap lookup, showing performance measurements, the effect of adding a break statement, and detailed Java code examples for backend developers.

Backend DevelopmentHashMapJava
0 likes · 7 min read
Optimizing Nested Loops in Java: From O(N²) to O(N) Using HashMap
Python Crawling & Data Mining
Python Crawling & Data Mining
Jul 27, 2022 · Fundamentals

How to Brute‑Force Account‑Password Pairs in Python with Simple Nested Loops

This article explains how to iterate through two files containing usernames and passwords using Python, demonstrating a straightforward double‑loop approach, providing sample code, output screenshots, and tips for handling mismatched line counts, helping readers efficiently test all credential combinations.

brute forcenested loopspassword cracking
0 likes · 3 min read
How to Brute‑Force Account‑Password Pairs in Python with Simple Nested Loops
Python Programming Learning Circle
Python Programming Learning Circle
Jul 22, 2022 · Fundamentals

Techniques for Exiting Nested Loops in Python

This article explains several methods to break out of nested loops in Python, including using identical break conditions, flag variables, raising exceptions, combining else clauses, and leveraging function returns, illustrated with a prime-number game example and complete code snippets.

Exception HandlingLoopsPython
0 likes · 6 min read
Techniques for Exiting Nested Loops in Python
Python Programming Learning Circle
Python Programming Learning Circle
Jan 24, 2022 · Fundamentals

Techniques to Exit Nested Loops in Python

This article explains several Python techniques—using identical break conditions, flag variables, exceptions, loop‑else clauses, and function returns—to exit nested loops, demonstrated through a prime‑number game where the program stops when a non‑prime input is entered.

Exception HandlingLoopsPython
0 likes · 6 min read
Techniques to Exit Nested Loops in Python
MaGe Linux Operations
MaGe Linux Operations
Feb 26, 2017 · Fundamentals

Master Python Nested Loops in 3 Minutes: For & While Examples

This concise guide explains how Python supports nesting loops, shows the exact syntax for embedding for‑loops inside while‑loops and vice versa, and provides a complete example that prints all prime numbers between 2 and 100, complete with output screenshots.

Prime NumbersPythonfor loop
0 likes · 2 min read
Master Python Nested Loops in 3 Minutes: For & While Examples
ITPUB
ITPUB
Jul 6, 2016 · Databases

Why CTEs Can Kill SSIS Performance and How to Fix It

A developer encountered severe slowdown when joining a remote server query via a CTE in SSIS, analyzed the underlying CTE and Nested Loops behavior, and resolved the issue by materializing the remote data into a temporary table, achieving a dramatic performance boost.

CTESQL ServerSSIS
0 likes · 7 min read
Why CTEs Can Kill SSIS Performance and How to Fix It