interesting approach
👍
This comment is hidden because it contains spoiler information about the solution
suggestion: u could do in one filter and combined both the condition using &&
Can you please explain why you divide by 1e15
What will happen if the length of name is 5 or more words?
Cool, thanks!
Hey, if you instead replace, let splitStr = s.split("!").join(''), you can avoid a loop
Loading collection data...
interesting approach
👍
This comment is hidden because it contains spoiler information about the solution
suggestion: u could do in one filter and combined both the condition using &&
Can you please explain why you divide by 1e15
What will happen if the length of name is 5 or more words?
Cool, thanks!
Hey, if you instead replace, let splitStr = s.split("!").join(''), you can avoid a loop