Skip to content

Instantly share code, notes, and snippets.

View freemedom's full-sized avatar
🎯
Focusing

freemedom

🎯
Focusing
View GitHub Profile
@freemedom
freemedom / comment.md
Last active January 9, 2023 06:19
Comments on a StackOverflow answer

I think some parts of this answer are not easy to understand, so I added some explanations.

The meaning of this answer is
physical block in the question >> should be logical block
logical block in the question >> should be virtual block


If the first (or zeroth) logical block of the file is Z, then the mapping from any virtual block to logical block N is N-Z.