Click here to Skip to main content
15,895,423 members

Comments by nagpalh (Top 5 by date)

nagpalh 10-Apr-20 13:38pm View    
Yeah, I asked them to give feedback at least, no response.

Your code is absolutely correct. You have considered all the possible scenarios. I saw that you have used a scenario of multiple bread-seller on one day, I didn't even think of that scenario.

I have a suggestion - it would be nice to output your result as dictionary of key=day-number and value=number-of-breads-bought.
Regards.
nagpalh 28-Feb-20 3:07am View    
It was a coding challenge question for a company called pearl bridge partners. It is a Hong Kong based financial company. I don’t understand where do you want to submit the solution? If you also took the coding challenge through the company, they provide you a link to upload your solution.
nagpalh 28-Feb-20 3:06am View    
Deleted
It was a coding challenge question for a company called pearl bridge partners. It is a Hong Kong based financial company. I don’t understand where do you want to submit the solution? If you also took the coding challenge through the company, they provide you a link to upload your solution.
nagpalh 10-Feb-20 12:26pm View    
@OriginalGriff

Thanks man. Appreciate it.
nagpalh 10-Feb-20 12:11pm View    
@OriginalGriff

Thanks for your comment. I didn't mean I need a solution, I have explained that I took this coding challenge and I did not pass the challenge. However, I was just told that my solution did not pass the threshold required. I have attached my solution, I just need people to look at it to point out some error or give a counter example where the algorithm doesn't work.

Thanks again.