celeroncoder / celeroncoder/Data-Structures

insertNode of the javascript library method not working correctly

オープン
#2 コメント 0 件 リアクション 0 件 担当者 1 名 @celeroncoder が担当を希望しています GitHub で見る
bug invalid
主要言語
言語のデータがありません
スター
0
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

- __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)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。