#camel String Problem

input1 = “saveChangeEditorInThe”

output1 = 5

input_2 = “helloMyProgramerWorld”

output_2 = 4

Explanation :- save , Change ,Editor , In,The ---->>>> Five Words are created so answer is 5
Explanation :- hello , My ,Programer , World ---->>>> Four Words are created so answer is 4

1 Like

@sriv.ansh

Thank you for your valuable contribution.