Fexle Services interview question

string patterns,hollow diamond patterns,number patterns, reverse word wise string