Apple interview question

He asked me 2 basic Java syntactical questions and 1 logic question. The 2 java questions were like basic java questions and involved concepts related to StringBuffer() and Inheritance. Other logical question was related to proability. There are 50 Red balls and 50 Green Balls and you have 2 buckets to put the ball. What is the highest probaility of getting a green ball from 2 buckets?

Interview Answer

Anonymous

Sep 13, 2023

I answered the java questions but was confused on the logic questions and did not answer it perfectly.