dataStructureandAlgorithmWithJavascript Translation