Skip to content

Instantly share code, notes, and snippets.

@jsramraj
Last active March 22, 2022 12:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jsramraj/628350ebd57d041c732e5c1bb8cd18a6 to your computer and use it in GitHub Desktop.
Save jsramraj/628350ebd57d041c732e5c1bb8cd18a6 to your computer and use it in GitHub Desktop.
1. Find the most occurred number in the given array
Input - [3,4,3,2,3,3,4,5,6,5,5,4,3,3,3,3,3,3]
Output = 3
2. Find the last word count in the given sentence
Input - I Love India
Output - 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment