โ† ServiceNow questions

Bitonic Array Search, OS FIFO, and Dice Permutations

Filed under ServiceNow

The question

Search for an element in an increasing-then-decreasing array using binary search with a peak element, explain FIFO implementation and thrashing in OS, and print all possible outcomes when n dice are thrown using recursion.

No write-up yet. Related questions below have one.

Related ServiceNow questions

Collected from public candidate posts and coding forums. Updated Nov 2026.