CNH Industrial Interview Question

1 DSA Question and basic OOPs concept