We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
I am getting 0.39583. These are all the possible combinations I am getting.
10 3 2 9 8 7 | 10 3 4 11 18 17 16 9 8 7 |10 17 16 9 8 7
10 17 18 11 4 3 2 9 8 7 | 10 9 8 7 |10 11 4 3 2 9 8 7
10 11 18 17 16 9 8 7
Total 7 combinations, I calculated each one and I am getting 0.3958333. 10 is the statring position A. it is coordinate[1,4], so number of each position is ((i+1)*m+j). Please help me as I am also not getting the answer
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Valid Username Regular Expression
You are viewing a single comment's thread. Return to all comments →
I am getting 0.39583. These are all the possible combinations I am getting. 10 3 2 9 8 7 | 10 3 4 11 18 17 16 9 8 7 |10 17 16 9 8 7 10 17 18 11 4 3 2 9 8 7 | 10 9 8 7 |10 11 4 3 2 9 8 7 10 11 18 17 16 9 8 7
Total 7 combinations, I calculated each one and I am getting 0.3958333. 10 is the statring position A. it is coordinate[1,4], so number of each position is ((i+1)*m+j). Please help me as I am also not getting the answer