Skip to content

issues Search Results · repo:loiane/javascript-datastructures-algorithms language:TypeScript

Filter by

69 results
 (51 ms)

69 results

inloiane/javascript-datastructures-algorithms (press backspace or delete to remove)

Is the variable ftime supposed to be used as a copy for result.finished in toposort? What happens is that when I simply assign ftimes = result.finished, the value of finished is changed. So, I decided ...
  • 3vinicius
  • 1
  • Opened 
    on Aug 21, 2023
  • #220

Hello, Loiane! I think that there is a minor mistake in fibonacciMemoization function, in the Recursion section of the book. As of the third edition, here is how this function is written: function fibonacciMemoization(n) ...
  • andersonfpcorrea
  • 2
  • Opened 
    on Dec 8, 2022
  • #215

Hi team, I saw that the hash-table is implemented by an Object {} not the Array [], is this by design? It seems that the Array type data structure can provide a better search efficiency. img width= 621 ...
  • jarvislin94
  • 1
  • Opened 
    on Aug 19, 2022
  • #209

https://github.com/loiane/javascript-datastructures-algorithms/blob/main/src/ts/data-structures/hash-table-linear-probing.ts#L45-L61 In the implementation of the get function, the returned value is not ...
  • Yamiqu
  • Opened 
    on Aug 3, 2022
  • #208

Chapter 10, about Trees. This internal link is broken and I haven t found the chapter 10 folder inside the examples folder. This is the broken path: javascript-datastructures-algorithms/tree/third-edition/examples/chapter10 ...
  • sojinsamuel
  • 1
  • Opened 
    on Aug 2, 2022
  • #205

Hi, @loiane I found an unexpected result of Kruskal for getting MST. see https://github.com/loiane/javascript-datastructures-algorithms/blob/main/examples/chapter12/07-Kruskal.js#L18 When running the ...
  • tequ1lAneio
  • 1
  • Opened 
    on Jul 31, 2022
  • #204

It is a good way to patition a deduplicated array , but if the unsorted array is [1,2,3,4,4,4,2,4,4,6,7], the function can t move 2 to front. I d like to write a patition function like this: function ...
  • SikyChen
  • Opened 
    on Jun 15, 2022
  • #202

I guess there is a minor error, in the dynamic programming for min coin change in chapter 14, in the function makeChange there is a for block: for (let i = 0; i coins.length; i++) { const ...
  • aldendmw
  • Opened 
    on Jun 3, 2022
  • #200

hey @loiane , just noticed the examples of chapter 10 are actually chapter 11 s, could you help to add them back? thanks
  • Jeffzholy
  • 1
  • Opened 
    on May 13, 2022
  • #192
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub