A similar question of mine was asked in the below link, where one of the comments states that "The problem is certainly NP-hard because TSP can be reduced to it".
Finding shortest circuit in a graph that visits X nodes at least once
On the other hand, in another link shown below, one of the solutions says that by modifying Dijkstra's algorithm, the complexity would be $O(n^3)$.
Find cycle of shortest length in a directed graph with positive weights
I am wondering which solution in one of those links is correct.