Eightfold Interview Question

basic question