Qualtrics Interview Question

Behavioral questions : Project questions + 1 coding question. Given an array of string, group nouns, adjectives together. You have a function which returns the type of word.