ServiceNow interview question

Coding round : Find all pairs of consecutive array elements which sum to a given number.

Interview Answer

Anonymous

6 Apr 2020

Simple enough question.