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
  • Apply
  • Hiring developers?
  1. Prepare
  2. Algorithms
  3. Dynamic Programming
  4. Abbreviation
  5. Discussions

Abbreviation

Problem
Submissions
Leaderboard
Discussions
Editorial

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

  • chris_keuc
    7 months ago+ 1 comment

    In test case 8 the 5th pattern expects a "no". I have tabulated the number of upper and lower case letters in variable "a" and "b" and can't see why this cannot be matched. In no case do I find an upper case letter count in variable "a" higher than b, and there's enough upper case paired with lower case letters in "a" to satisfy the number of uppercase letters needed in "b". The rest of lowercase letters can be dropped. Am I missing something ?

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