Neural Dynamics for Time-varying Problems: Advances and Applications