Whats the issue with my output?


#1

Whats the issue with my output?

A : [ 44 -> 14 -> 96 -> 58 -> 33 -> 16 -> 80 -> 92 -> 22 -> 60 -> 66 -> 52 -> 1 -> 75 -> 89 -> 74 -> 37 -> 90 -> 29 -> 20 -> 41 -> 68 -> 24 -> 91 -> 57 -> 19 -> 31 -> 70 -> 50 -> 65 -> 39 -> 99 -> 69 -> 32 -> 94 -> 36 -> 87 -> 77 -> 51 -> 71 -> 59 -> 40 -> 3 -> 21 -> 88 -> 43 -> 26 -> 9 -> 45 -> 81 -> 38 -> 8 -> 79 -> 12 -> 85 -> 46 -> 6 -> 93 -> 63 -> 30 -> 72 -> 4 -> 34 -> 18 -> 27 -> 13 -> 11 -> 64 -> 17 -> 48 -> 49 -> 7 -> 67 -> 98 -> 5 -> 76 -> 84 -> 25 -> 15 -> 82 -> 95 -> 53 -> 62 -> 83 -> 2 -> 47 -> 97 -> 61 -> 100 -> 73 -> 42 -> 54 -> 10 -> 28 ] B : 31 C : 35

Your function returned the following :

44 -> 14 -> 96 -> 58 -> 33 -> 16 -> 80 -> 92 -> 22 -> 60 -> 66 -> 52 -> 1 -> 75 -> 89 -> 74 -> 37 -> 90 -> 29 -> 20 -> 41 -> 68 -> 24 -> 91 -> 57 -> 19 -> 31 -> 70 -> 50 -> 65 -> 94 -> 99 -> 69 -> 32 -> 39 -> 36 -> 87 -> 77 -> 51 -> 71 -> 59 -> 40 -> 3 -> 21 -> 88 -> 43 -> 26 -> 9 -> 45 -> 81 -> 38 -> 8 -> 79 -> 12 -> 85 -> 46 -> 6 -> 93 -> 63 -> 30 -> 72 -> 4 -> 34 -> 18 -> 27 -> 13 -> 11 -> 64 -> 17 -> 48 -> 49 -> 7 -> 67 -> 98 -> 5 -> 76 -> 84 -> 25 -> 15 -> 82 -> 95 -> 53 -> 62 -> 83 -> 2 -> 47 -> 97 -> 61 -> 100 -> 73 -> 42 -> 54 -> 10 -> 28

The expected returned value :

44 -> 14 -> 96 -> 58 -> 33 -> 16 -> 80 -> 92 -> 22 -> 60 -> 66 -> 52 -> 1 -> 75 -> 89 -> 74 -> 37 -> 90 -> 29 -> 20 -> 41 -> 68 -> 24 -> 91 -> 57 -> 19 -> 31 -> 70 -> 50 -> 65 -> 94 -> 32 -> 69 -> 99 -> 39 -> 36 -> 87 -> 77 -> 51 -> 71 -> 59 -> 40 -> 3 -> 21 -> 88 -> 43 -> 26 -> 9 -> 45 -> 81 -> 38 -> 8 -> 79 -> 12 -> 85 -> 46 -> 6 -> 93 -> 63 -> 30 -> 72 -> 4 -> 34 -> 18 -> 27 -> 13 -> 11 -> 64 -> 17 -> 48 -> 49 -> 7 -> 67 -> 98 -> 5 -> 76 -> 84 -> 25 -> 15 -> 82 -> 95 -> 53 -> 62 -> 83 -> 2 -> 47 -> 97 -> 61 -> 100 -> 73 -> 42 -> 54 -> 10 -> 28