Problem 157 · Easy

Read N Characters Given Read4

Read N characters using a read4 function that reads at most 4 chars.

Open the interactive visualisation