Coding
AES - Advanced Encryption Standard
Giới thiệu AES là chuẩn mã hoá được sử dụng khắp nơi hiện nay. Bài viết bạn đang đọc, video bạn hay ...
Bàn về Hash-Set trong Swift
Có 2 vấn đề cần bàn luận ở đây, Hash Table và Set. Hashtable phù hợp việc tìm kiếm với thời gian kh ...
[Học lại] Bài 1. Big O
Tình hình là mình cũng tốt nghiệp 7 năm rồi. Học 5 năm đại học mà kiến thức hổng nên giờ phải ngồi ...
Big O Practice
In previous lesson (https://hapq.me/big-o/), we have learned basic knowledge about Big-O and Time Co ...
Bit Facts and Tricks
In Wikipedia we trust =)) The bit is a basic unit of information in information theory, computing, ...
Bloom Filter by Swift
Overview Bloom filter is Probabilistic data struct, it can tell an object is definitely not exist in ...
Kiểm tra chuỗi String có gồm các ký tự khác nhau mà không dùng thêm Data Structure
Ví dụ: "abcdefgh" trả về true "abadefghi" trả về false vì a xuất hiện 2 lần. ...
Code Review - a checklist to do it right
Overall: Look for Improvement - Do Encouragement - Share best practices - Not to hold the PR - Minor ...
From Coin Change to ATM withdrawals
Problem Just curious about how ATM works. Example, we provide it set of denominations {10k, 20k, 50k ...
[Combine] assign(to:on:) causes memory leak
It seems Apple did fix this issue in iOS 14, by introducing the assign(to:) operator, which takes a ...
[Học lại] Bài 7 - DFS và BFS
DFS và BFS là hai cách duyệt đồ thị thường gặp. Đồ thị là kiểu dữ liệu trừu tượng để cài đặt hai kh ...
Fun with Prime Numbers
Wikipedia says: A prime number (or a prime) is a natural number greater than 1 that cannot be forme ...
GCD queues : serial and concurrent
If you are reading this post, I wish you a merry christmas and new successful 2020. It has been lon ...
HashCash - crypto currencies' algorithm
Introduction At the moment of writting this post, Bitcoin just hit $60,000 with a market cap over 1 ...
Hello World - Machine Learning Recipes
Video: Classifier: Hàm nhận dữ liệu đầu vào và trả về một nhãn (label) của dữ liệu đó Là tập hợp ...