The answer is Tunisia.
Tunisia lies northeast of Algeria, northwest of Libya, and south of the Mediterranean Sea.
Both Tunisia and Niger are bordered by both Algeria and Libya. In Tunisia's case, Algeria and Libya are the only countries that border it, so it is probably the answer you are looking for.
Tunisia is indeed part of Africa. It is the northernmost African country and bordered by Algeria, Libya, and the Mediterranean Sea.
North Africa, on the Mediterranean Sea. Bordered by Egypt and Sudan to the East, Algeria and Tunisia to the West, and Chad and Niger to the South.
In North Africa. Libya is bordered by Algeria and Tunisia to the west, Niger and Chad to the south, Sudan on the south-west and Egypt to the east. The north of Libya is bordered by the Mediterranean Sea.
That country is Libya, and the capital of Libya is Tripoli.
There is no country bordering Egypt to the north. It is bordered by the Mediterranean Sea on the north.
Morocco, Algeria, Libya, Tunisia and Egypt
The countries that border Tunisia are Algeria and Libya. The northern border of Tunisia is bordered by the Mediterranean Sea.
Algeria is bordered by: Tunisia Libya Morocco Mali Niger Mauritania Western Sahara Tunisia
Morocco, Algeria, Libya, and Egypt.
The countries that share borders with Tunisia are from Left (West) Algeria; and from the right (East) Libya. from North there is the Mediterranean sea and from the South there is a common border of Algeria and Libya.
There are a number of countries that have capital cities on the Mediterranean Sea. These include Greece, Algeria, Tunisia, as well as Malta.