javascript-algorithms
javascript-algorithms copied to clipboard
📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings
Fixed typo issue [!1064](https://github.com/trekhleb/javascript-algorithms/issues/1064)
I implemented and tested Array List Data Structure.
Adding a new file, and changing README files to add Uzbek language to the list of languages
comboLength must be have a default value . function got stock.
I have corrected the typo in binary search file. here function name should be lessThan() not lessThen() #1064 Resolved
In Binary Search Code file line number 14 have a typo. Here name of the function should be lessThan() not lessThen()
```js describe('priorityQueue Test:', () => { it('should return correct priorityQueue results:', () => { const pq = new PriorityQueue(); pq.add(1); pq.add(2); pq.add(3); pq.add(4); expect(pq.toString()).toBe('1,2,3,4'); expect(pq.poll()).toBe(1); expect(pq.poll()).toBe(2); expect(pq.poll()).toBe(3); expect(pq.poll()).toBe(4); }); });...