Answer:
Ghana achieved independence peacefully, while Algeria achieved independence through armed struggle
Step-by-step explanation:
Ghana and Algeria had different ways of getting their independence from their colonists. Ghana managed to gain independence peacefully, while Algeria had to fight for its independence. Ghana was under the rule of British Empire, and the after the World War II, the British were exhausted economically and military, so they saw that they can not hold onto most of their colonies. This resulted in peaceful negotiations and granting independence to Ghana. Algeria was under the rule of France, and while France too let most of its colonies have their independence peacefully because of the same reasons as the British, they were not willing to give up on Algeria. Algeria was close to France, strategically very important, and the French wanted to keep it. The Algerians had other things in mind though, and they wanted independence. In order to gain independence the Algerians had to fight with the French for it, and luckily for them, the French still hadn't re-consolidated their army, so they managed to defeat them and become independent.