Between 1757 and 1857 the East India Company rarely attacked a territory head-on. NCERT explains that it used political, economic and diplomatic methods to extend its influence first, and annexed a kingdom only later. Two of those methods are the subsidiary alliance and the doctrine of lapse. Both are favourite exam topics because the two are easy to mix up.
The first step came after the Battle of Buxar in 1764, when the Company began posting Residents in Indian states. A Resident was a political or commercial agent who served the Company's interests. Through Residents, Company officials interfered in the internal affairs of states: who would succeed to the throne and who would hold office. The subsidiary alliance went a step further.