7-Eleven interview question

simple android question and machine coding android round and dsa question was asked in first round