Intern — Middle
Function to find the node with the smallest value
livecode
Task condition
It is necessary to implement a function that takes an array of Node objects and returns the element with the minimum value, or nil if the array is empty.
public static func findMin(in nodes: [Node]) -> Node? {
}