SHARE
TWEET

Untitled

a guest Oct 19th, 2018 246 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [1]
  2. 1
  3.  
  4. [1,2,3,4]
  5. 1
  6.  \
  7.   2
  8.    \
  9.     3
  10.      \
  11.       4
  12.      
  13. [5,1,4,2,3]
  14.   5
  15.  /
  16. 1
  17.  \
  18.   4
  19.  /
  20. 2
  21.  \
  22.   3
  23.  
  24. [5,4,3,2,1,6,7,8,9]
  25.         5
  26.        / \
  27.       4   6
  28.      /     \
  29.     3       7
  30.    /         \
  31.   2           8
  32.  /             \
  33. 1               9
  34.  
  35. [4,2,1,3,6,5,7]
  36.     4
  37.    / \
  38.   2   \
  39.  / \   6
  40. 1   3 / \
  41.      5   7
  42.      
  43. [8,3,1,6,4,7,10,14,13]
  44.     8
  45.    / \
  46.   3   10
  47.  / \    \
  48. 1   6    14
  49.    / \   /
  50.   4   7 13
  51.  
  52. [2,3,1]
  53. 2
  54.  \
  55.   3
  56.    Not possible because the 1 is smaller than the 2
  57.  
  58. [6,3,2,4,5,1,8,7,9]
  59.     6
  60.    /
  61.   3
  62.  / \
  63. 2   4
  64.      \
  65.       5
  66.        Not possible, because the 1 is smaller than the 2,3, and 4
  67.        
  68. [1,2,3,4,5,7,8,6]
  69. 1
  70.  \
  71.   2
  72.    \
  73.     3
  74.      \
  75.       4
  76.        \
  77.         5
  78.          \
  79.           7
  80.            \
  81.             8
  82.              Not possible, because the 6 is smaller than the 7
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top