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.
I really found this method to be interesting apporach to sole this kata , i was able to visualize that i can delete number if its found more than one in kata but not able conceptualize as code where and how :)
somehow my brain misses chars and map :p
Learned how to throw message "undefined" with rescuw I was not able to deduce this :)
Hhaah i like this facny way of presentation :)
done :)
This comment is hidden because it contains spoiler information about the solution
I think this was simplest soltion apprach i could find :) Thank you
i made a mistake what i did was list.map(regexp)
I went with if else and using range along with .include method but i believe this is way simple and should be faster
Theater.seats nCols nRows col row == 96 , This is all people including the person himself , I think it should be 96-1 as we cant count person himself
defing *args and then assinging them as a[0] ||= "regular" is very good example of object oriented design
Nice I like it :)
Nice :)
Thank you for explanation :)
cool :)