Conversion from Adjacency List to Adjacency Matrix
Given an undirected, unweighted graph with vertices labeled 1, 2, 3, and 4, and the following adjacency list:\n\n- 1: [2, 4]\n- 2: [1, 3]\n- 3: [2, 4]\n- 4: [1, 3]\n\nConvert this representation into its corresponding 4×4 adjacency matrix. Provide your answer in the form of a 2D array.