Beta

Bar Graph - Graphing #1

Description
Loading description...
Graphs
Arrays
Fundamentals
  • Please sign in or sign up to leave a comment.
  • kinome79 Avatar

    Interesting problem, but most of my time was spent trying to figure out what it was asking rather than actually solving the problem. Perhaps its needs a more clear declaration of what its requesting. It also discusses the importance of the 'type' but then doesn't use it. Tests allow solutions that index graph arrays with index rather than by a graphs ID because tests use ID's of 0 or 1 in order, so graph ID 0 is always at array index 0, and others issues. But did enjoy solving it, definitely the intricacies of adding-to or creating objects as needed.

  • mzhelyaskov Avatar

    Fix please formatting of this kata description. It is difficult to understand task because of errors on Markdown, and bad formatting. But the task is very interesting. Thank you!

  • Voile Avatar

    Random tests sometimes generate graphs with the same id (id collision) and the tests does not cater this scenario.

  • Voile Avatar

    Should probably prevent people processing the graph at the wrong place, e.g My solution processes the graph at getGraph instead of createBarGraph.

  • Voile Avatar

    In the sample code getBarGraph is shown, but the actual method used is getGraph.