Click here to Skip to main content
15,902,757 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: Can linked list be sorted in O(n) time? Pin
Alan Balkany17-Mar-08 3:24
Alan Balkany17-Mar-08 3:24 
GeneralRe: Can linked list be sorted in O(n) time? Pin
Luc Pattyn17-Mar-08 4:08
sitebuilderLuc Pattyn17-Mar-08 4:08 
AnswerRe: Can linked list be sorted in O(n) time? Pin
Jörgen Sigvardsson14-Jun-08 11:47
Jörgen Sigvardsson14-Jun-08 11:47 
QuestionRotate Images for automatic alignment - suggestions for an algorithm please? Pin
justaudio12-Mar-08 11:53
justaudio12-Mar-08 11:53 
AnswerRe: Rotate Images for automatic alignment - suggestions for an algorithm please? Pin
Skippums13-Mar-08 5:24
Skippums13-Mar-08 5:24 
GeneralRe: Rotate Images for automatic alignment - suggestions for an algorithm please? Pin
justaudio13-Mar-08 9:48
justaudio13-Mar-08 9:48 
AnswerRe: Rotate Images for automatic alignment - suggestions for an algorithm please? Pin
Alan Balkany13-Mar-08 5:24
Alan Balkany13-Mar-08 5:24 
GeneralComputing Binary File Changes Pin
Skippums12-Mar-08 10:24
Skippums12-Mar-08 10:24 
I happened accross the Levenshtein algorithm to find the fewest number of changes that can be made to go from one file to another, but I can't figure out how to find the PATH that resulted in that number without taking up O(n*m) memory. Is there some way to find the path WHILE you perform the algorithm? The way I am doing it now is to store the entire n*m array, then find the solution, then traverse the array from end to beginning to find a shortest path. Is there a way, using either another algorithm or by using the modification to Levenshtein where it only takes O(n) memory, where a least-cost change path can be found? Thanks,

Sounds like somebody's got a case of the Mondays

-Jeff

GeneralRe: Computing Binary File Changes Pin
Member 419459326-Mar-08 8:43
Member 419459326-Mar-08 8:43 
QuestionRe: Computing Binary File Changes Pin
Skippums29-Mar-08 17:38
Skippums29-Mar-08 17:38 
GeneralRe: Computing Binary File Changes Pin
Member 419459329-Mar-08 18:27
Member 419459329-Mar-08 18:27 
GeneralRe: Computing Binary File Changes Pin
Member 419459330-Mar-08 6:48
Member 419459330-Mar-08 6:48 
QuestionRe: Computing Binary File Changes Pin
Skippums30-Mar-08 10:37
Skippums30-Mar-08 10:37 
GeneralRe: Computing Binary File Changes Pin
Member 419459330-Mar-08 12:38
Member 419459330-Mar-08 12:38 
GeneralRe: Computing Binary File Changes Pin
Member 419459316-Apr-08 16:19
Member 419459316-Apr-08 16:19 
GeneralRe: Computing Binary File Changes Pin
Skippums16-Apr-08 17:39
Skippums16-Apr-08 17:39 
GeneralRe: Computing Binary File Changes Pin
Member 419459316-Apr-08 18:50
Member 419459316-Apr-08 18:50 
GeneralRe: Computing Binary File Changes Pin
Skippums18-Apr-08 6:38
Skippums18-Apr-08 6:38 
GeneralRe: Computing Binary File Changes Pin
Member 419459327-Apr-08 8:25
Member 419459327-Apr-08 8:25 
GeneralRe: Computing Binary File Changes Pin
Skippums27-Apr-08 22:17
Skippums27-Apr-08 22:17 
GeneralRe: Computing Binary File Changes Pin
Member 419459328-Apr-08 15:34
Member 419459328-Apr-08 15:34 
GeneralSegment selected region from the video frames Pin
ptr_Electron12-Mar-08 3:17
ptr_Electron12-Mar-08 3:17 
QuestionAlgorithm performance comparison question Pin
Nick Alexeev8-Mar-08 16:32
professionalNick Alexeev8-Mar-08 16:32 
GeneralRe: Algorithm performance comparison question Pin
Skippums13-Mar-08 5:36
Skippums13-Mar-08 5:36 
GeneralWhole Number Ratios Pin
MikeMarq8-Mar-08 11:08
MikeMarq8-Mar-08 11:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.