Rotate array by k steps, duplicate checking with set, and divisible number search
Filed under GlobalLogic
The question
Solve three programming problems: rotate an array by k steps in a clockwise direction, determine and print 'yes' or 'no' for users entering a database set depending on prior existence, and find the nth number from a sorted set of numbers divisible by given numbers 'a' or 'b' or both.
No write-up yet. Related questions below have one.
Related GlobalLogic questions
Collected from public candidate posts and coding forums. Updated Nov 2026.