Write a PHP script to find the GCD of multiple numbers in an array.
MediumProblem Statement
Write a PHP script to find the GCD of multiple numbers in an array.
Sample Input
[24, 36, 48]
Sample Output
12
Limits
Time: 2s · Memory: 256 MB
Write a PHP script to find the GCD of multiple numbers in an array.
[24, 36, 48]
12
Time: 2s · Memory: 256 MB