NiuNiu MaTe
Author

NiuNiu MaTe

Joined Tencent (nicknamed "Goose Factory") through campus recruitment at a second‑tier university. Career path: Tencent → foreign firm → ByteDance → Tencent. Started as an interviewer at the foreign firm and hopes to help others.

97
Articles
0
Likes
79
Views
0
Comments
Recent Articles

Latest from NiuNiu MaTe

97 recent articles
NiuNiu MaTe
NiuNiu MaTe
Dec 15, 2021 · Databases

Master MySQL Performance: Practical Tuning, Indexes, and Scaling Strategies

This comprehensive guide walks through MySQL performance fundamentals, real‑world testing results, slow‑query detection, index impact, pagination pitfalls, count optimizations, sharding techniques, and step‑by‑step migration plans for large tables, equipping engineers with actionable tuning insights.

Index OptimizationMySQLPagination
0 likes · 13 min read
Master MySQL Performance: Practical Tuning, Indexes, and Scaling Strategies
NiuNiu MaTe
NiuNiu MaTe
Dec 11, 2021 · Fundamentals

Master the Top 10 Sorting Algorithms: Concepts, Code, and Visual Guides

This article provides a concise overview of ten essential sorting algorithms—including bubble, quick, insertion, shell, selection, heap, counting, radix, and bucket sorts—explaining their core ideas, showing visual illustrations, and offering complete Java implementations for interview preparation.

AlgorithmsQuick Sort
0 likes · 21 min read
Master the Top 10 Sorting Algorithms: Concepts, Code, and Visual Guides
NiuNiu MaTe
NiuNiu MaTe
Dec 9, 2021 · Fundamentals

How Winning the Blue Bridge Cup Can Boost Your Graduate Admissions

The article explains the significance of the Blue Bridge Cup programming competition, outlines its national scale and benefits for students, and provides a detailed list of university-specific graduate admission point policies for award winners, encouraging participation and highlighting the experience’s lasting value.

Blue Bridge CupIT educationgraduate admission
0 likes · 10 min read
How Winning the Blue Bridge Cup Can Boost Your Graduate Admissions
NiuNiu MaTe
NiuNiu MaTe
Dec 7, 2021 · Databases

Master‑Slave Replication in Redis: How It Works and How to Prevent Data Loss

This article explains why a single‑instance Redis can cause outages, introduces the master‑slave architecture, details the full and incremental synchronization processes, shows how to configure replication, addresses multi‑slave scaling, network interruptions, and automatic failover with Sentinel.

RedisSentineldatabase
0 likes · 11 min read
Master‑Slave Replication in Redis: How It Works and How to Prevent Data Loss
NiuNiu MaTe
NiuNiu MaTe
Dec 2, 2021 · Fundamentals

Master the Classic 2‑Egg 100‑Floor Problem: Optimal Strategies Explained

This article explains the classic two‑egg, 100‑floor interview puzzle, analyzes why it became a staple, and walks through four solution approaches—from a naïve linear method to binary search and a balanced partition strategy—culminating in a mathematically derived optimal method that never exceeds fourteen drops.

Binary SearchOptimizationalgorithm
0 likes · 8 min read
Master the Classic 2‑Egg 100‑Floor Problem: Optimal Strategies Explained
NiuNiu MaTe
NiuNiu MaTe
Nov 26, 2021 · Big Data

How to Deduplicate 4 Billion QQ Numbers Using Only 1 GB of Memory

This article walks through four practical techniques—sorting, hashmap, file splitting, and bitmap—to remove duplicate QQ numbers from a 4‑billion‑record file within a 1 GB memory limit, and provides extended exercises for sorting, median, top‑K, and duplicate detection.

BitmapDeduplicationalgorithm
0 likes · 8 min read
How to Deduplicate 4 Billion QQ Numbers Using Only 1 GB of Memory