Grap the window you want to snap and drag it to the edge. Once in the top left/right corner you’ll see a translucent border confirming it will snap. To make it full height you can then drag downwards (before you release mouse)
Press and hold the Windows key and the Left or Right Arrow key to snap the last selected window to one side of the screen.
The left and right actually cycle through all the various positions, so you can keep pressing if you have more than 1 monitor for instance.