Photon's layout validation service receives three arrays containing corresponding side lengths. For each index, determine whether the three lengths can form a valid non-degenerate triangle.
Return a string array containing "YES" for valid triangles and "NO" otherwise, preserving the input order.
Implement verify_triangles(a, b, c):
a, b, and c of equal length. For index i, the candidate sides are a[i], b[i], and c[i].i is "YES" if the three sides form a valid triangle, otherwise "NO".A valid triangle must have three positive side lengths, and the sum of any two sides must be strictly greater than the third side.
def verify_triangles(a, b, c):