HackerRank java problem solving

Опубликовано: 16 Апрель 2020
на канале: Code Tech Gyan
4,023
48

Learn how to solve HackerRank Problem and get the optimized solution.
This is a HackerRank Question and you get the solution to one of their problem on Tokens in Java String.
#Hackerrankjava #HackerRankTutorials #codetechgyan #HackerRank #programming #algorithms #coding #competitiveprogramming #java #codinginterview #problemsolving #hackerrankchallenges

HackerRank Problem Statement :
Given a string, s, matching the regular expression [A-Za-z !,?._'@]+ , split the string into tokens. We define a token to be one or more consecutive English alphabetic letters. Then, print the number of tokens, followed by each token on a new line.

Note: You may find the String.split method helpful in completing this challenge.
Input Format
A single string, s

Sample Input
He is a very very good boy, isn't he?

Sample Output
10
He
is
a
very
very
good
boy
isn
t
he

YOU CAN ALSO SEE PYTHON VIDEO ON THIS CHANNEL
   • PYTHON PROGRAMMING INTRODUCTION  


На этой странице сайта вы можете посмотреть видео онлайн HackerRank java problem solving длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Code Tech Gyan 16 Апрель 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 4,023 раз и оно понравилось 48 зрителям. Приятного просмотра!