Question: USing typescript you have list of string has 5 word(two letter only for each word , oh should be in the list) and you should
USing typescript you have list of string has 5 word(two letter only for each word , oh should be in the list) and you should calculate distance between each word and other and distance between each letter with other ,
Except when you find word=oh here should take factorial for index of 'o' and multiply with index of 'h'
have 5 input ==> so should have 5 output
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
