---
title: "Duc Nguyen Huu (@nhduc) | Hashnode"
description: "Duc Nguyen Huu (@nhduc) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@nhduc"
---

@nhduc

# Duc Nguyen Huu

@nhduc · Joined August 2024

### [Top Leetcode patterns and how to approach](https://blog.nhduc.com/top-leetcode-patterns-and-how-to-approach?utm_source=hashnode&utm_medium=feed)

Preparing for coding interviews can be challenging, but recognizing common patterns in problems can make it easier. LeetCode is a popular platform where you can practice these patterns. By understanding and mastering these patterns, you can solve a w...

13 min read · [blog.nhduc.com](https://blog.nhduc.com/top-leetcode-patterns-and-how-to-approach?utm_source=hashnode&utm_medium=feed)

[Sep 10, 2024](https://hashnode.com/posts/top-leetcode-patterns-and-how-to-approach/66dfc742a4c0423bfccbac69)

### [How HyperLogLog works](https://blog.nhduc.com/how-hyperloglog-works?utm_source=hashnode&utm_medium=feed)

Explore the HyperLogLog algorithm: basics, mathematical foundations, implementation, optimizations, and real-world applications.

8 min read · [blog.nhduc.com](https://blog.nhduc.com/how-hyperloglog-works?utm_source=hashnode&utm_medium=feed)

[Aug 20, 2024](https://hashnode.com/posts/how-hyperloglog-works/66c409ec19745b214d46f9d2)

### [Distinguish 2PC, 3PC, Paxos, Raft in distributed transaction](https://blog.nhduc.com/distinguish-2pc-3pc-paxos-raft-in-distributed-transaction?utm_source=hashnode&utm_medium=feed)

Compare 2PC, 3PC, Paxos, and Raft in distributed transactions. Understand mechanisms, advantages, and real-world use cases.

8 min read · [blog.nhduc.com](https://blog.nhduc.com/distinguish-2pc-3pc-paxos-raft-in-distributed-transaction?utm_source=hashnode&utm_medium=feed)

[Aug 20, 2024](https://hashnode.com/posts/distinguish-2pc-3pc-paxos-raft-in-distributed-transaction/66c408482ea8220affb384a6)

### [Why is Kafka crazy fast](https://blog.nhduc.com/why-is-kafka-crazy-fast?utm_source=hashnode&utm_medium=feed)

Discover why Kafka is incredibly fast, exploring its distributed architecture, partitioning, and optimizations.

6 min read · [blog.nhduc.com](https://blog.nhduc.com/why-is-kafka-crazy-fast?utm_source=hashnode&utm_medium=feed)

[Aug 20, 2024](https://hashnode.com/posts/why-is-kafka-crazy-fast/66c4071352b557e0c1004fb8)
