You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
En el problema ConvertSortedArrayToBinarySearchTree, la creación de nodos TreeNode está acoplada al algoritmo, lo que viola SRP y OCP. Se propone aplicar el patrón Builder para separar la lógica de construcción en una clase TreeNodeBuilder.