Baker Hughes Interview Question

technical challenge codebase and logical