1. Given two strings “sentence” and message” and asked me to return a Boolean if a message can be generated from the given sentence(letters with in the sentence can not be reused)
Ex: Sentence = “today is monday”
Message = “sad day”
Output : true
Ex: Sentence = “today is monday”
Message = “bad day”
Output : false
2. Create a todo app using react.
3. Object oriented design of a parking lot.
4. Create react jsx dynamically using JSON response.
5. Print multi dimensional array in a spiral order.
Ex: [[1,2,3,4],
[5,6,7,8],
[9,10,11,12],
[13,14,15,16]]
Output: 1,2,3,4,8,12,16,15,14,13,9,5,6,7,11,10
6. Reverse the given string as a sentence.
Ex: “today is friday”
Output: “friday is today”
7. Check If a given string is a valid HTML or not.
Ex: “<head></head><body></body>”
Output: true
Ex: “<head></head><body>”
Output: false