CodingEasy
Greatest common factor of two integers in an array
Filed under Hexaview
The question
Given an array with exactly two positive integers, return their greatest common factor.
No write-up yet. Related questions below have one.
Related Hexaview questions
Collected from public candidate posts and coding forums. Updated Nov 2026.