 The 1976 episode "The Deadly Assassin" marked the only time The  Doctor worked alone, with no companion or assistant. On the other  hand, a 1965 episode (now lost) called "Mission to the Unknown",  didnt feature the Doctor or his assistants at all.