• Sign Up
    Time to claim your honor
  • Training
  • Practice
    Complete challenging Kata to earn honor and ranks. Re-train to hone technique
  • Freestyle Sparring
    Take turns remixing and refactoring others code through Kumite
  • Community
  • Leaderboards
    Achieve honor and move up the global leaderboards
  • Chat
    Join our Discord server and chat with your fellow code warriors
  • Discussions
    View our Github Discussions board to discuss general Codewars topics
  • About
  • Docs
    Learn about all of the different aspects of Codewars
  • Blog
    Read the latest news from Codewars and the community
  • Log In
  • Sign Up
dkumar3 Avatar
Name:Unknown
Clan:Illinois institute of technology
Member Since:Jul 2016
Last Seen:Aug 2021
Profiles:
Following:2
Followers:2
Allies:2
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (20)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • Cybersamurai
    • commented on "Simple Fun #1: Seats in Theater" kata
    • 4 years ago

    Keep calm and...Theater Seats... That is all.

  • Custom User Avatar
    • user5533680
    • commented on "Simple Fun #1: Seats in Theater" kata
    • 4 years ago

    If you are actually counting the person, then it should be the result-1, because a person can't block themselves.

  • Custom User Avatar
    • anantacodes
    • commented on "Simple Fun #1: Seats in Theater" kata
    • 5 years ago

    Is it counting the person too ? I think he is excluded when we subtract the row from nRows .

  • Custom User Avatar
    • ngcarter
    • commented on "Enumerable Magic #20 - Cascading Subsets" ruby solution
    • 5 years ago

    Thanks!

  • Custom User Avatar
    • dkumar3
    • commented on "Simple remove duplicates" ruby solution
    • 5 years ago

    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 :)

  • Custom User Avatar
    • dkumar3
    • commented on "Double Char" ruby solution
    • 5 years ago

    somehow my brain misses chars and map :p

  • Custom User Avatar
    • dkumar3
    • commented on "Find the Slope" ruby solution
    • 5 years ago

    Learned how to throw message "undefined" with rescuw I was not able to deduce this :)

  • Custom User Avatar
    • dkumar3
    • commented on "Leonardo Dicaprio and Oscars" ruby solution
    • 5 years ago

    Hhaah i like this facny way of presentation :)

  • Custom User Avatar
    • dkumar3
    • commented on "Duck Duck Goose" ruby solution
    • 5 years ago

    done :)

  • Custom User Avatar
    • iwtga
    • commented on "Duck Duck Goose" ruby solution
    • 5 years ago

    please mark ur comment as spoiler, as its visible to others on the dashboard!

  • Custom User Avatar
    • dkumar3
    • commented on "Duck Duck Goose" ruby solution
    • 5 years ago

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar
    • dkumar3
    • commented on "Enumerable Magic #20 - Cascading Subsets" ruby solution
    • 5 years ago

    I think this was simplest soltion apprach i could find :) Thank you

  • Custom User Avatar
    • dkumar3
    • commented on "Enumerable Magic #23 - Filter Array by Regex" ruby solution
    • 5 years ago

    i made a mistake what i did was list.map(regexp)

  • Custom User Avatar
    • dkumar3
    • commented on "Quarter of the year" ruby solution
    • 5 years ago

    I went with if else and using range along with .include method but i believe this is way simple and should be faster

  • Custom User Avatar
    • dkumar3
    • commented on "Simple Fun #1: Seats in Theater" kata
    • 6 years ago

    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

  • Loading more items...
  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...