LeetCode
Read N Characters Given Read4 II - Call multiple times
Click
here
for an explanation.