Train the way you will perform
For at least some of your practice, turn the safety nets off. Write solutions in a plain text editor or on paper, then type them in to check. You will quickly find which syntax and standard-library calls you actually know cold versus rely on autocomplete for.