Problem description: Given an array of characters, determine if they form a word.

Problem statement: An array of characters is provided as input, determine if the characters in the array form the word, “Happy Republic Day”.

Test cases

Generate random characters on giving an integer n.