We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
  • HackerRank Home

    HackerRank

  • |
  • Prepare
  • Certify
  • Compete
  • Hiring developers?
  1. Prepare
  2. Regex
  3. Applications
  4. HackerRank Tweets

HackerRank Tweets

Problem
Submissions
Leaderboard
Discussions

Increasing popularity of hackerrank can be seen in tweets like

  • I love #hackerrank
  • I just scored 27 points in the Picking Cards challenge on #HackerRank
  • I just signed up for summer cup @hackerrank

Given a set of most popular tweets, your task is to find out how many of those tweets has the string hackerrank in it.

Input Format

First line is an integer N. N lines follow. Each line is a valid tweet.

Constraints

1 <= N <= 10
Each character of the tweet is a valid ASCII character.

Output format

Print the total number of tweets that has hackerrank (case insensitive) in it

Sample Input

4
I love #hackerrank
I just scored 27 points in the Picking Cards challenge on #HackerRank
I just signed up for summer cup @hackerrank
interesting talk by hari, co-founder of hackerrank

Sample Output

4

Explanation

All the 4 lines have the string hackerrank in them and thus 4.

Viewing Submissions

You can view others' submissions if you solve this challenge. Navigate to the challenge leaderboard.

Author

dheeraj

Difficulty

Easy

Max Score

15

Submitted By

14084

Need Help?


View discussions
View top submissions

rate this challenge

MORE DETAILS

Download problem statement
Download sample test cases
Suggest Edits
  • Blog
  • Scoring
  • Environment
  • FAQ
  • About Us
  • Support
  • Careers
  • Terms Of Service
  • Privacy Policy