Imperva Interview Question

some basic program and automation questions in both round.