celeroncoder / celeroncoder/Data-Structures

insertNode of the javascript library method not working correctly

Abierto
#2 0 comentarios 0 reacciones 1 asignado Reclamado por @celeroncoder Ver en GitHub
bug invalid
Lenguaje dominante
Sin datos de lenguaje
Estrellas
0
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

- __InsertNode method__ works __ok if the index passed is 0__ but __not__ when the __index is something else__.

- __Index Check is not working__ since it don't return false on unspecified index in the list.
```
if (index > 0 && index > this.size) {
return false;
} else { ... }
```

- __Commit__ eb3a682780755ef7bb581d664f48d502700fa576
- :deciduous_tree: [__Branch__](https://github.com/khushalbhardwaj-0111/Data-Structures/tree/linked_list_js)

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.