Ad
  • Default User Avatar

    same man, thats why scrolling here

  • Custom User Avatar

    Ну что, понял?Объясни пожалуйста )))ахаха

  • Custom User Avatar

    If you are not struggling with logic, then: reduce that logic into something concrete(basically googlable)(breaking the problem into many subproblems helps a lot) and then google how to do that.

    Most of the 8 kyu kata gives at least a rough idea of what to do(I mean the description and the actual task are sufficiently relevant): that might have something to do with sorting, searching, counting how many elements are in the container, find the difference between the maximum and minimum count.

    The first three can be solved by googling "how to do X with a list in python?", most probably you'll be directed to StackOverflow, apart from reading the syntax, just take a glance over other stuff(they might be something relevant to the sortable data structure, time-complexity, or perhaps underlying implementation or just say Y and if you're motivated enough you can google what is Y and so on)

    To solve the fourth one, you need to break the problem into parts, google syntax of each.

    In the beginning, there's would be a lot of googling, which will at least familiarize you with some common token of business.

    TL;dr:

    1. Extract the actual problem from the description(basically what problem boils down to) [Basically, abstraction]

    2. Break the problem(incase if it is compound-ish)[Reduction]

    3. Subtantiate the logic of the solution(just precise enough to be googlable).

    4. Google the syntax, and write the code.

    You can ask for hint in this room.

  • Custom User Avatar
  • Custom User Avatar

    Why you're struggling at kata 8?