15,917,610 members
Home / Discussions / Algorithms

# Algorithms

 My implementation of Eratosthenes sieve is horribly slow. But why? Member 149328737-Sep-20 22:00 Member 14932873 7-Sep-20 22:00
 Re: My implementation of Eratosthenes sieve is horribly slow. But why? Richard MacCutchan7-Sep-20 22:38 Richard MacCutchan 7-Sep-20 22:38
 Re: My implementation of Eratosthenes sieve is horribly slow. But why? Richard Deeming7-Sep-20 23:59 Richard Deeming 7-Sep-20 23:59
 Re: My implementation of Eratosthenes sieve is horribly slow. But why? Dave Kreskowiak8-Sep-20 6:46 Dave Kreskowiak 8-Sep-20 6:46
 Re: My implementation of Eratosthenes sieve is horribly slow. But why? Richard Andrew x6422-Sep-20 10:36 Richard Andrew x64 22-Sep-20 10:36
 Re: My implementation of Eratosthenes sieve is horribly slow. But why? Dave Kreskowiak22-Sep-20 16:25 Dave Kreskowiak 22-Sep-20 16:25
 Re: My implementation of Eratosthenes sieve is horribly slow. But why? Patrice T18-Sep-20 19:51 Patrice T 18-Sep-20 19:51
 How can I remove alternate words from a sentence? maicart5-Sep-20 22:27 maicart 5-Sep-20 22:27
 I'm building a language learning website. In one of the exercises the user has to guess the missing words. For example in the sentence: What is the weather like? It is sunny today. My developer has created an algorithm that shows the first and last words of the sentence, while removing the alternate words within it. The result is: What ____ the ____ like? ____ is ____ today. However, in a sentence like this: It is not the entrance, it is the exit. My developer says that the algorithm does not work because the word "the" is repeated. I don't understand why the algorithm does not work when words are repeated. They still appear in alternate position, right? Is there a solution? I could post our current algorithm if necessary.
 Re: How can I remove alternate words from a sentence? Gerry Schmitz6-Sep-20 4:14 Gerry Schmitz 6-Sep-20 4:14
 Re: How can I remove alternate words from a sentence? Richard MacCutchan6-Sep-20 6:13 Richard MacCutchan 6-Sep-20 6:13
 Re: How can I remove alternate words from a sentence? Gerry Schmitz6-Sep-20 6:33 Gerry Schmitz 6-Sep-20 6:33
 Re: How can I remove alternate words from a sentence? Richard MacCutchan6-Sep-20 4:52 Richard MacCutchan 6-Sep-20 4:52
 Re: How can I remove alternate words from a sentence? maicart6-Sep-20 6:23 maicart 6-Sep-20 6:23
 Re: How can I remove alternate words from a sentence? Richard MacCutchan6-Sep-20 6:41 Richard MacCutchan 6-Sep-20 6:41
 Re: How can I remove alternate words from a sentence? Richard Andrew x646-Sep-20 8:04 Richard Andrew x64 6-Sep-20 8:04
 Re: How can I remove alternate words from a sentence? maicart7-Sep-20 1:27 maicart 7-Sep-20 1:27
 Re: How can I remove alternate words from a sentence? Richard MacCutchan7-Sep-20 1:38 Richard MacCutchan 7-Sep-20 1:38
 algorithm to place N rectilinear blocks in a ring to minimize total area rbuchana14-Aug-20 5:21 rbuchana 14-Aug-20 5:21
 Re: algorithm to place N rectilinear blocks in a ring to minimize total area harold aptroot14-Aug-20 8:04 harold aptroot 14-Aug-20 8:04
 Re: algorithm to place N rectilinear blocks in a ring to minimize total area rbuchana14-Aug-20 8:19 rbuchana 14-Aug-20 8:19
 Re: algorithm to place N rectilinear blocks in a ring to minimize total area Gerry Schmitz14-Aug-20 8:22 Gerry Schmitz 14-Aug-20 8:22
 Re: algorithm to place N rectilinear blocks in a ring to minimize total area Greg Utas14-Aug-20 8:52 Greg Utas 14-Aug-20 8:52
 Re: algorithm to place N rectilinear blocks in a ring to minimize total area rbuchana15-Aug-20 9:00 rbuchana 15-Aug-20 9:00
 Re: algorithm to place N rectilinear blocks in a ring to minimize total area Greg Utas15-Aug-20 9:36 Greg Utas 15-Aug-20 9:36
 Re: algorithm to place N rectilinear blocks in a ring to minimize total area Greg Utas15-Aug-20 9:45 Greg Utas 15-Aug-20 9:45
 Last Visit: 31-Dec-99 18:00     Last Update: 14-Jun-24 15:27 Refresh ᐊ Prev1...9101112131415161718 Next ᐅ