This method is commonly used by professional electricians. A dead end 3 way is one which only has one cable in the box.

Light At Dead End 3 Way Electrician Talk Professional
Dead end 3 way switch wiring. The feed and switched circuit are both in the other box. Here are another couple of variations of 3 and 4 way switch circuits. This video explains the wiring diagram. Extending the switch leg over to the common as shown in the photo above or extending the hot over to the common as described below. If you only need two switches leave out both the 4 way switches. You can also add as many 4 way switches as you like in place of any one shown in the circuits that follow.
Here is an example of a light in the middle of the run. A dead end 3 way switch wiring method. Three way 3 way switches are used to control one or more lights from 2 locations such as on a staircase at the top and bottom or on both ends of a hallway. There are 2 variations of dead end 3ways. A visual tour of wiring 3 way switches. There are 2 variations of dead end 3ways.
All the 4 way switches are optional. Extending the switch leg over to the common as shown in the photo above or extending the hot over to the common as described below. This method is commonly used by professional electricians. Please try again later. A dead end 3 way switch wiring method. Dead ends are perfectly legal.
The xx3 from the other switch. But to compy with code now you need to consider having the circuit neutral in the box as well. This feature is not available right now.