Quora, Inc. Interview Question

Coding activity in an IDE to complete a pattern