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. Algorithms
  3. Strings
  4. Similar Strings
  5. Discussions

Similar Strings

Problem
Submissions
Leaderboard
Discussions
Editorial

    You are viewing a single comment's thread. Return to all comments →

  • oyoungk10
    7 years ago+ 2 comments

    I don't understand how to not timeout on test cases 11 and up. I downloaded test case 20 with hackos, and just reading in the input and printing it took longer than the alotted 4s test cases are allowed. I'm not sure what I'm doing wrong or if I can even make things faster.

    Edit: I used Java 7, looks like C works though.

    2|
    Permalink
  • Blog
  • Scoring
  • Environment
  • FAQ
  • About Us
  • Support
  • Careers
  • Terms Of Service
  • Privacy Policy