In hackerrank we can create challenges and provide default codes for a particular challenge in all languages. Hackerrank provides a Domain specific language which generates code