
Input: source = 0, k = 58
edgeList[][] = [[0, 1, 4], [0, 7, 8], [1, 7, 11], [1, 2, 8], [2, 8, 2], [8, 6, 6], [6, 7, 1], [7, 8, 7], [2, 3, 7], [2, 5, 4], [5, 6, 2], [3, 5, 14], [3, 4, 9], [4, 5, 10]]
Output: Yes
Explanation: There exists a simple path 0 -> 7 -> 1 -> 2 -> 8 -> 6 -> 5 -> 3 -> 4, which has a total distance of 60 which is more than 58.
Input: source = 0, k = 62
edgeList[][] = [[0, 1, 4], [0, 7, 8], [1, 7, 11], [1, 2, 8], [2, 8, 2], [8, 6, 6], [6, 7, 1], [7, 8, 7], [2, 3, 7], [2, 5, 4], [5, 6, 2], [3, 5, 14], [3, 4, 9], [4, 5, 10]]
Output: No
Explanation: In the above given graph, the longest simple path has distance 61 (0 -> 7 -> 1-> 2 -> 3 -> 4 -> 5-> 6 -> 8), so output should be false for any input greater than 61.