No, they don't have this issue. Space and time complexity apply to functional programming exactly the same as normal programming.
Then why does Haskell needs ST monad?
Then why does Haskell needs ST monad?