Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I don't think
count
discards duplicate values, or does it?Thank You. Your reply helped me to correct my solution and pass the tests.
Yes, it does!
Hi! It's about dynamic programming, the "top down" approach.
The description is unnecessarily tricky and misleading. To avoid this error you should retrieve both company_id from products and company_name from companies.
This comment is hidden because it contains spoiler information about the solution
You cannot see how random tests are written, but you can see inputs of random test cases: https://github.com/codewars/codewars.com/wiki/Troubleshooting-your-solution#how-can-i-see-which-input-causes-my-solution-to-fail
I'd say learn it when you find a suitable use case for it in your own work. Software development is all about using the right tools in the right place, at the right time.
It's clear completely. "Find max(...)"