15,846,727 members
Home / Discussions / Algorithms

# Algorithms

 Re: How can I calculate time complexity and compare between given two algorithms? Member 1151248619-Sep-20 1:55 Member 11512486 19-Sep-20 1:55
 Re: How can I calculate time complexity and compare between given two algorithms? Gerry Schmitz19-Sep-20 4:00 Gerry Schmitz 19-Sep-20 4:00
 Re: How can I calculate time complexity and compare between given two algorithms? trønderen19-Sep-20 8:03 trønderen 19-Sep-20 8:03
 Re: How can I calculate time complexity and compare between given two algorithms? Gerry Schmitz20-Sep-20 5:52 Gerry Schmitz 20-Sep-20 5:52
 My implementation of Eratosthenes sieve is horribly slow. But why? Member 149328737-Sep-20 23:00 Member 14932873 7-Sep-20 23:00
 Re: My implementation of Eratosthenes sieve is horribly slow. But why? Richard MacCutchan7-Sep-20 23:38 Richard MacCutchan 7-Sep-20 23:38
 Re: My implementation of Eratosthenes sieve is horribly slow. But why? Richard Deeming8-Sep-20 0:59 Richard Deeming 8-Sep-20 0:59
 Re: My implementation of Eratosthenes sieve is horribly slow. But why? Dave Kreskowiak8-Sep-20 7:46 Dave Kreskowiak 8-Sep-20 7:46
 It's slow because you're using a List instead of an array. Every time you remove an entry from the List, the remaining values in the list after the item removed have to be moved down one position. Depending on the size of the List, that can take quite a bit of time. Use an array of flags instead of integers. Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles. Dave Kreskowiak
 Re: My implementation of Eratosthenes sieve is horribly slow. But why? Richard Andrew x6422-Sep-20 11:36 Richard Andrew x64 22-Sep-20 11:36
 Re: My implementation of Eratosthenes sieve is horribly slow. But why? Dave Kreskowiak22-Sep-20 17:25 Dave Kreskowiak 22-Sep-20 17:25
 Re: My implementation of Eratosthenes sieve is horribly slow. But why? Patrice T18-Sep-20 20:51 Patrice T 18-Sep-20 20:51
 How can I remove alternate words from a sentence? maicart5-Sep-20 23:27 maicart 5-Sep-20 23:27
 Re: How can I remove alternate words from a sentence? Gerry Schmitz6-Sep-20 5:14 Gerry Schmitz 6-Sep-20 5:14
 Re: How can I remove alternate words from a sentence? Richard MacCutchan6-Sep-20 7:13 Richard MacCutchan 6-Sep-20 7:13
 Re: How can I remove alternate words from a sentence? Gerry Schmitz6-Sep-20 7:33 Gerry Schmitz 6-Sep-20 7:33
 Re: How can I remove alternate words from a sentence? Richard MacCutchan6-Sep-20 5:52 Richard MacCutchan 6-Sep-20 5:52
 Re: How can I remove alternate words from a sentence? maicart6-Sep-20 7:23 maicart 6-Sep-20 7:23
 Re: How can I remove alternate words from a sentence? Richard MacCutchan6-Sep-20 7:41 Richard MacCutchan 6-Sep-20 7:41
 Re: How can I remove alternate words from a sentence? Richard Andrew x646-Sep-20 9:04 Richard Andrew x64 6-Sep-20 9:04
 Re: How can I remove alternate words from a sentence? maicart7-Sep-20 2:27 maicart 7-Sep-20 2:27
 Re: How can I remove alternate words from a sentence? Richard MacCutchan7-Sep-20 2:38 Richard MacCutchan 7-Sep-20 2:38
 algorithm to place N rectilinear blocks in a ring to minimize total area rbuchana14-Aug-20 6:21 rbuchana 14-Aug-20 6:21
 Re: algorithm to place N rectilinear blocks in a ring to minimize total area harold aptroot14-Aug-20 9:04 harold aptroot 14-Aug-20 9:04
 Re: algorithm to place N rectilinear blocks in a ring to minimize total area rbuchana14-Aug-20 9:19 rbuchana 14-Aug-20 9:19
 Re: algorithm to place N rectilinear blocks in a ring to minimize total area Gerry Schmitz14-Aug-20 9:22 Gerry Schmitz 14-Aug-20 9:22
 Last Visit: 31-Dec-99 19:00     Last Update: 26-Feb-24 9:20 Refresh ᐊ Prev1...9101112131415161718 Next ᐅ