15,895,423 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
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.