Ad
  • Custom User Avatar

    You realize you are free to just print/log the input to console if you want to see it. Whatever you log will show up above the test results.

  • Custom User Avatar

    Well if you worked out (parts of) the math, you'll realize it's impossible to give you the actual array of an input like 7230702951. Not that it would help you much.
    You can do it on paper, replace the names with "A", "B", "C" etc. and line them up for an input like 30; you might be able to discern a pattern.

  • Custom User Avatar

    Too few, you mean? ;)

    I think the problem is straight forward. If you have difficulty visualizing it, you can always take out pen&paper and work through some example inputs yourself. In fact you'll have to do this alot to solve many problems.