← Zoho questions

Sort Array by Minimum Prime Factor

Filed under Zoho

Given an array of integers greater than 1, sort the elements in ascending order based on the value of their minimum prime factor. If two numbers have the same minimum prime factor, preserve their…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Zoho questions

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