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.
It would be nice to be able to defer execution of the Kata search filter method to a new filter button on the page. When I search for Kata I almost always search by 3 conditions: specific language, progress, and the difficulty. The default behavior of the filter is to immediately execute when one of the filtering options are selected. This can be quite annoying because I have to wait for the page to reload before I can select additional options. Because I regularly filter by 3 conditions it can take 9-12 seconds before I can began looking through the filter results. You could either remove the ability of the controls to trigger the filter method (preferred) and instead defer that control to a filter button or if you are dead set against changing the current filter behavior you could alternatively create another widget below that provides that functionality. Another alternative would be to allow users to save their preferred filter configuration which you could persist in your database and then use it to set default control values when the page is loaded.
This comment is hidden because it contains spoiler information about the solution
Okay so after I saw you other solution below without linq I was able to figure out what was going on but I still can't fathom how you can naturally come up with a solution like this. Is it one of those things where you were able to recognize this specific problem with converting binary to numbers or does it come from just practicing with bitwise operators?
probably going to get trolled for asking but can you explain how this works? I'm having trouble understanding how the bitwise operators are being evaluated within this linq expression.
well done... well done.
I haven't been doing python long enough to know whether or not this is best pratice but I did appreciate your solution because it forced me to learn about generators.
This comment is hidden because it contains spoiler information about the solution
wow how was I the first to vote this solution. Amazing work.
FArekkusu I think the fact that the solution meets the criteria is incredibly important. Given that we cannot see the input values of most test cases until submitting our solutions we only have the criteria to form our solutions. Of course I can see that the multiplication of the integers resulted in overflow after the fact but no one wants to have to completely reconstruct a whole new solution especially when the original solution meets the stated criteria and conditions. To your point about raising an issue I actually attempted to do so but the option to raise an issue was no longer available after my initial comment. I'm not sure if that is by design or not but it is something that I actually tried to do.
@MrZizoScream thank you for understanding and thank you for spending the time to create this kata. It was certainly frustrating but in the process I learned a few things about the 'checked' and 'unchecked' keywords in C#. Keep them coming.
Thank you for the late response and my apologies for going to the top shelf with the word "terrible". I was incredibly frustrated as my solution had met the criteria and still would not pass the random overflow test. I'm not seeing any prior mention of the c# translator but would like to take a peak at it. I ended up using someone else's solution because I wasn't sure anyone would respond.
:D
Thanks for posting this link. It really helped me in understanding what was going on.
Thanks! I'll definitely check it out.
bravo. My first though on this problem was whether or not I could solve it with a regular expression but I didn't have the experience to be able to construct one that could do so. Glad to see that it is achievable.
Thanks for the linq solution. Do you know of any good linq sandbox sites or resources I can check out to learn how to use it in my own problem solving?
Loading more items...