UD Trucks interview question

Questions on Strings and Array SQL