TOS - The Apple
I usually give this one a pass because of the cheesy sets and aliens.
This is a great episode! Alien computer controlling the development of a culture. Enterprise in jeopardy. Spock gets whacked by poisonous plants, forcefields and lightning. Red shirts biting it left and right. And there is some of the best banter between Spock, McCoy and Kirk too.