Forward Interview Question

HackerRank coding challenge. No algorithms or data structures. Practical, but still difficult. Question was something about designing a function to format text inputs in a specific way.