From: Efficient calculation of exact probability distributions of integer features on RNA secondary structures
Polynomial
DFT
DFT with U* units
Time
O ( n 3 S 2 m a x α )
O ( n 3 S m a x α )
O ( n 3 S m a x α / U )
Space
O ( ( n 2 + β ) S m a x )
O ( n 2 + β )
O ( ( n 2 + β ) U )