Titan was constantly bombarded with radio signals from Earth. After the initial confusion, the people of Titan discovered that they could listen to the signals. Even watch some.
That's how Thanos grew up, watching Earth TV shows into the dead of night. He loved most of what was broadcasted. The Monkees had some catchy tunes, Get Smart and Batman taught him how to get out of wacky situations, and Alfred Hitchcock Presents had him hiding under his covers. But his favorite was the sci-fi show known as Star Trek.
He related more to the aliens than to the humans that occupied all the other shows. He never missed a day that the show was broadcasted.
Thanos learned things from Star Trek as well. He learned everyone deserved to be equal, that one shouldn't judge. But most importantly he learned how to help with Titan's food issue.
It was a late night when Thanos was still a child when he saw it, the 13th episode of the first season, The Conscience of the King. The plot stayed in his young mind, and it grew until it was the only thing he could focus on.
There wasn't enough food on Titan for the population. Just like there wasn't enough food on Tarsus IV in Star Trek. Kodos, the ruler of Tarsus, decided to kill half of the population to save the rest. It was a perfect plan. Sure Kodos had reasoning of eugenics of who to kill, but that went against all Star Trek taught, everyone should be equal. In life and in death.
The one downside to Thanos' plan was that he wasn't in a position of power, he couldn't conduct his plan without permission from people who had never seen Star Trek. Thanos didn't think it was going to be a problem until it was and his planet died.
It wouldn't be a problem anymore.