CodeMosa
Master LeetCode Patterns
All Patterns
Collections
Sign In
Back
Bitmask DP
Question 1 of 12
8% Complete
Hard
TSP DP state typically is dp[mask][i]. What does it represent?
A
Minimum cost to visit 'mask' set of nodes and end at i
B
Number of paths from start to i
C
Whether i is visited
D
Parent of i