ExxonMobil Interview Question

Write Algorithms using pseudocode