3 ms·It’s not constant; the algorithm runs in pseudo-polynomial time.by saagarjha 3y agoIt’s not constant; the algorithm runs in pseudo-polynomial time.