There is no default shortcut for switching between terminal and editor in VScode. But you can add USER shortcut in the Settings > Keyboard Shortcuts.
Note:-I have placed "Altr + Ctrl + ," for Editor Focus and "Altr + Ctrl + ." for Terminal Focus as shortcuts, as they are not used by any other tasks and are easy to reach.
In Keyboard Shortcuts, type Focus Active Editor Group and DOUBLE CLICK the option and create your own shortcut and press ENTER.
In Keyboard Shortcuts, type Terminal: focus terminal action and find the option exactly we have written above i.e. "Terminal: focus terminal action" and create your own shortcut and press ENTER
There are many similar options related to terminal focus like previous terminal, next terminal etc but they already have shortcuts, so it would be easy to find it.
Well, i have provided the method for windows, And i am not sure about IOS and LINUX, But I think it will work.