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
  • Prepare
    NEW
  • Certify
  • Compete
  • Career Fair
  • Hiring developers?
  1. All Contests
  2. HourRank 30
  3. Jerry's Expression
  4. Discussions

Jerry's Expression

Problem
Submissions
Leaderboard
Discussions
Editorial

Sort 18 Discussions, By:

votes

Please Login in order to post a comment

  • nya_nya_meow
    4 years ago+ 1 comment

    Is it guaranteed that answer exists?

    3|
    Permalink
  • jonathanirvings
    4 years ago+ 1 comment

    Does a solution guaranteed to be exist?

    3|
    Permalink
  • da_201601186
    4 years ago+ 1 comment

    I'm converting the prefix notation to infix and then counting the positives and the negatives. Getting TLE for the last 2 cases. Can someone tell why?

    1|
    Permalink
  • tungbean95
    3 years ago+ 1 comment

    in test case : +--???--??? My Output is : 1 1 1 3 1 1

    <=> (1-1-1) + (3-1-1) = 0 Why i get WA???

    0|
    Permalink
  • jeganbabu
    4 years ago+ 0 comments

    why not 311111 for +--???--???

     + - - 3 1 1 - - 1 1 1
     + - (3-1) 1 - (1-1) 1
     + (2-1) (0-1)
     (1 + (-1))
     0
    

    Says wrong output!

    0|
    Permalink
Load more conversations

Need Help?


View editorial
View top submissions
  • Blog
  • Scoring
  • Environment
  • FAQ
  • About Us
  • Support
  • Careers
  • Terms Of Service
  • Privacy Policy
  • Request a Feature