結果 : typescript finding array length hackerrank solution