UTF-8 validation
Given a list of integers, each standing for one byte, decide whether they form a valid UTF-8 encoding: read the leading bits of each first byte to know how many continuation bytes (starting with 10) must follow.
No answer yet. Write the first one; the best answer gets endorsed.
