mickmackusa

Questions for Markus

Jul 31st, 2017
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. I "feel like" all of these combinations are valid for your input array. Are any of them not? Are there more?
  2.  
  3. 1
  4. 1.6
  5. 1.7
  6. 1.8
  7. 1.6.7
  8. 1.6.8
  9. 1.7.8
  10. 1.2.4
  11. 1.2.4.6
  12. 1.2.4.7
  13. 1.2.4.8
  14. 1.2.4.6.7
  15. 1.2.4.6.8
  16. 1.2.4.7.8
  17. 1.2.3.4.8.9
  18. 1.2.3.4.5.8.9
  19. 1.2.3.4.5.6.8.9
  20. 1.2.3.4.5.7.8.9
  21. 1.2.3.4.5.6.7.8.9
  22. 8
  23. 3.8.9
  24. 3.5.8.9
  25. 6.8
  26. 7.8
  27. 6.7.8
  28. 6
  29. 7
  30.  
  31. Can `9` exist in a combination without `3`? or because they are on the same "branch" do come as a pair? I am assuming that with 2 comes 4, with 4 comes 2, with 3 comes 9, and with 9 comes 3. Please confirm this detail.
  32.  
  33. Knowing the exact desired output for your input is essential for volunteers to confidently/accurately answer your question. This seems like a task requiring considerable thought, 50 bounty points seems a little light IMO. Please post the full desired output in your question.
  34.  
  35. Also, I was testing on `$input=[1=>[2=>'',4=>''],8=>[3=>'',9=>[5=>'']],6=>'',7=>''];` which was assigning all numbers as keys. If this is not the structure that you have in mind, please update your question with the exact php input array structure that you intend to use.
Advertisement
Add Comment
Please, Sign In to add comment