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
functionreverseArray(arr){functionreverse(arr,next){if(arr[1]===null){return[arr[0],next];}next=[arr[0],next ? next : null];returnreverse(arr[1],next);}returnreverse(arr,null);}
The text was updated successfully, but these errors were encountered:
实现n层嵌套数组的翻转
输入
输出
实现
The text was updated successfully, but these errors were encountered: