How align objects on its corners?

For example how to align 2 walls perfectly in corner?

you have to have appropriately created millimetrically perfect objects and use the engine’s step movement set to 10 increments or more in order to have any kind of accuracy.

Also corners have to be built special if you have to build lighting