Pseudo-polynomial time
An algorithm runs in pseudo-polynomial time if its running time is polynomial in the numeric value of the input but not necessarily in the length of the input.
Intuition
If you are given an integer input
Pseudo-polynomial time
An algorithm runs in pseudo-polynomial time if its running time is polynomial in the numeric value of the input but not necessarily in the length of the input.
If you are given an integer input