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
Feb 9, 2022 · Backend Development

How to Resolve Account Transaction Conflicts with Split Writes and Lazy Integration

This article explains the "account conflict" problem caused by massive concurrent transactions, proposes splitting read/write operations and using lazy or timed data integration to improve performance and consistency, and discusses how to ensure atomicity and isolation with transactions or distributed locks.

Data ConsistencyDistributed Lock
0 likes · 6 min read
How to Resolve Account Transaction Conflicts with Split Writes and Lazy Integration
NiuNiu MaTe
NiuNiu MaTe
Jan 26, 2022 · Frontend Development

Master the Observer Pattern: A Fun Story‑Driven Front‑End Tutorial

Through a playful narrative featuring SpongeBob and a rival boss, this article explains the high‑frequency front‑end interview topic of the Observer pattern, illustrates its core concepts, shows one‑to‑many relationships, and provides a complete JavaScript implementation with clear code examples.

Front‑EndJavaScriptObserver Pattern
0 likes · 5 min read
Master the Observer Pattern: A Fun Story‑Driven Front‑End Tutorial
NiuNiu MaTe
NiuNiu MaTe
Jan 12, 2022 · Fundamentals

Why Most Candidates Fail Interviews and How to Give Recruiters a Reason to Hire You

The article outlines why many interview candidates fall short, categorizes three typical applicant types, and explains the key reasons interviewers decide to advance a candidate—strong communication, solid fundamentals like networking and databases, algorithm proficiency, and genuine learning attitude.

Interview Tipsalgorithm basicscareer advice
0 likes · 7 min read
Why Most Candidates Fail Interviews and How to Give Recruiters a Reason to Hire You
NiuNiu MaTe
NiuNiu MaTe
Jan 9, 2022 · Fundamentals

Decode the Crazy Corporate Jargon: A Programmer’s Guide to Internet Buzzwords

This article humorously dissects the baffling corporate and tech buzzwords that flood everyday conversations, explaining terms like "赋能", "抓手", "闭环", and offering a practical glossary for programmers to understand and navigate the opaque language of modern workplaces.

Communicationbuzzwordscorporate jargon
0 likes · 8 min read
Decode the Crazy Corporate Jargon: A Programmer’s Guide to Internet Buzzwords
NiuNiu MaTe
NiuNiu MaTe
Jan 8, 2022 · Fundamentals

Why TCP Can Close Connections in 2, 3, or 4 Handshakes – Hidden Mechanics Explained

This article explores TCP’s connection termination process, detailing the classic four‑way handshake, scenarios that reduce it to three or two handshakes, the concept of self‑connections, simultaneous opens, and practical implications for developers, including code examples and troubleshooting tips.

Connection terminationHandshakeSocket
0 likes · 23 min read
Why TCP Can Close Connections in 2, 3, or 4 Handshakes – Hidden Mechanics Explained
NiuNiu MaTe
NiuNiu MaTe
Jan 6, 2022 · Blockchain

Understanding Consensus: From Raft to PoW in Blockchain

This article explains the concept of consensus in blockchain, compares private, consortium and public environments, and introduces key algorithms such as Paxos, Raft, PBFT, Proof‑of‑Work and Proof‑of‑Stake, highlighting their challenges and solutions.

ConsensusPOSPaxos
0 likes · 10 min read
Understanding Consensus: From Raft to PoW in Blockchain
NiuNiu MaTe
NiuNiu MaTe
Jan 2, 2022 · Fundamentals

Why Receiving a TCP RST Doesn’t Always Close the Connection

This article explains the purpose of the TCP RST flag, how the kernel and application layers detect it, the various scenarios that trigger RST, why an RST may not terminate a connection, and the security implications of RST attacks.

Linux kernelNetwork ProtocolRST
0 likes · 15 min read
Why Receiving a TCP RST Doesn’t Always Close the Connection
NiuNiu MaTe
NiuNiu MaTe
Dec 31, 2021 · Fundamentals

Master TopK: From Simple Sorts to Heap and QuickSelect Solutions

This article explains the TopK problem, compares sorting‑based O(nk) approaches with heap‑based O(n + k log n) and quick‑select O(n) methods, and provides complete Java implementations for each technique, helping readers ace interview questions on finding the largest K elements.

Heapquickselectsorting
0 likes · 13 min read
Master TopK: From Simple Sorts to Heap and QuickSelect Solutions
NiuNiu MaTe
NiuNiu MaTe
Dec 22, 2021 · Fundamentals

Why Understanding Binary and Encoding Unlocks Computer Fundamentals

This article explores the essence of computing by tracing how basic circuits, binary encoding, and layered abstractions from hardware to software enable modern digital devices, illustrating concepts with bicycle analogies, circuit diagrams, and historical insights into binary's development.

abstractionbinary encodingcomputer fundamentals
0 likes · 15 min read
Why Understanding Binary and Encoding Unlocks Computer Fundamentals