Click here to Skip to main content
15,889,216 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: Pseudocode implementation of the strict timestamp protocol for ensuring serializability, recoverability and cascadeless roll-backs Pin
73Zeppelin18-Dec-08 2:00
73Zeppelin18-Dec-08 2:00 
GeneralRe: Pseudocode implementation of the strict timestamp protocol for ensuring serializability, recoverability and cascadeless roll-backs Pin
efgtdg19-Dec-08 0:51
efgtdg19-Dec-08 0:51 
GeneralRe: Pseudocode implementation of the strict timestamp protocol for ensuring serializability, recoverability and cascadeless roll-backs Pin
73Zeppelin19-Dec-08 2:30
73Zeppelin19-Dec-08 2:30 
QuestionQuestion from my Phone Interview Pin
BobInNJ15-Dec-08 10:17
BobInNJ15-Dec-08 10:17 
GeneralSum Pin
Luc Pattyn15-Dec-08 11:19
sitebuilderLuc Pattyn15-Dec-08 11:19 
AnswerRe: Question from my Phone Interview Pin
Member 419459315-Dec-08 11:47
Member 419459315-Dec-08 11:47 
AnswerRe: Question from my Phone Interview Pin
Member 419459315-Dec-08 11:49
Member 419459315-Dec-08 11:49 
GeneralRe: Question from my Phone Interview Pin
BobInNJ15-Dec-08 12:43
BobInNJ15-Dec-08 12:43 
Dave,

Thanks for the response. Your solution is basically the same as my solution except that you
use an array of bits where I use an array of booleans. For n numbers, we both need an additional array of n elements. The person interviewing me claims that it can be done with O(1) additional space and time faster than O( n log(n) ). I still do not see how.

Bob
GeneralRe: Question from my Phone Interview Pin
Luc Pattyn15-Dec-08 12:52
sitebuilderLuc Pattyn15-Dec-08 12:52 
GeneralRe: Question from my Phone Interview Pin
Member 419459315-Dec-08 13:05
Member 419459315-Dec-08 13:05 
Generalsum <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Pin
Luc Pattyn15-Dec-08 13:20
sitebuilderLuc Pattyn15-Dec-08 13:20 
GeneralRe: sum <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Pin
Member 419459315-Dec-08 14:43
Member 419459315-Dec-08 14:43 
GeneralRe: sum <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Pin
riced18-Dec-08 12:47
riced18-Dec-08 12:47 
GeneralNot Cobol Pin
Luc Pattyn18-Dec-08 12:59
sitebuilderLuc Pattyn18-Dec-08 12:59 
GeneralRe: Not Cobol Pin
riced18-Dec-08 13:27
riced18-Dec-08 13:27 
GeneralRe: Not Cobol Pin
Luc Pattyn18-Dec-08 13:39
sitebuilderLuc Pattyn18-Dec-08 13:39 
GeneralRe: Question from my Phone Interview Pin
leonej_dt15-Dec-08 13:33
leonej_dt15-Dec-08 13:33 
AnswerFinding an extra/missing number Pin
supercat918-Dec-08 9:56
supercat918-Dec-08 9:56 
GeneralRe: Question from my Phone Interview Pin
Luc Pattyn18-Dec-08 13:15
sitebuilderLuc Pattyn18-Dec-08 13:15 
GeneralRe: Finding several extra/missing numbers Pin
Luc Pattyn19-Dec-08 1:28
sitebuilderLuc Pattyn19-Dec-08 1:28 
GeneralRe: Finding several extra/missing numbers Pin
supercat919-Dec-08 7:00
supercat919-Dec-08 7:00 
GeneralRe: Finding several extra/missing numbers Pin
Luc Pattyn19-Dec-08 7:25
sitebuilderLuc Pattyn19-Dec-08 7:25 
GeneralRe: Finding several extra/missing numbers Pin
supercat919-Dec-08 8:56
supercat919-Dec-08 8:56 
GeneralRe: Finding several extra/missing numbers Pin
Luc Pattyn19-Dec-08 9:36
sitebuilderLuc Pattyn19-Dec-08 9:36 
GeneralRe: Finding several extra/missing numbers Pin
supercat921-Dec-08 12:28
supercat921-Dec-08 12:28 

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.