Samsung Electronics Interview Question

oops basic questions, dsa and projects