Click here to Skip to main content
15,889,096 members
Home / Discussions / Java
   

Java

 
GeneralRe: In-place Merge-Sort with doubly linked list Pin
JavaStudent_LA25-Apr-11 16:11
JavaStudent_LA25-Apr-11 16:11 
GeneralRe: In-place Merge-Sort with doubly linked list Pin
Manfr3d25-Apr-11 22:46
Manfr3d25-Apr-11 22:46 
GeneralRe: In-place Merge-Sort with doubly linked list Pin
TheLaughingManAnDerTU26-Apr-11 6:04
TheLaughingManAnDerTU26-Apr-11 6:04 
GeneralRe: In-place Merge-Sort with doubly linked list Pin
Manfr3d27-Apr-11 0:05
Manfr3d27-Apr-11 0:05 
GeneralRe: In-place Merge-Sort with doubly linked list Pin
JavaStudent_LA29-Apr-11 15:17
JavaStudent_LA29-Apr-11 15:17 
GeneralRe: In-place Merge-Sort with doubly linked list Pin
Manfr3d30-Apr-11 3:41
Manfr3d30-Apr-11 3:41 
GeneralRe: In-place Merge-Sort with doubly linked list Pin
JavaStudent_LA3-May-11 16:26
JavaStudent_LA3-May-11 16:26 
GeneralRe: In-place Merge-Sort with doubly linked list Pin
Manfr3d3-May-11 21:58
Manfr3d3-May-11 21:58 
This function is nearly the same as the above one. However, the 2-argument version (I will call it ms2 from now on, and the 3-argument version ms3) was just the, one could say, "standardized interface" that must be used. ms2 calls ms3 like it is the same function. You could also call ms3 just once within ms2, resulting in one more level on the call stack. The implementations of the functions are equal, except for the fact, that the head in ms3 is just used as a return value, which isn't returned at all, because it is accessible in the caller, even if modified. All copies, pointers and auxiliary LEs are assigned referring to the first element. This consumes less time, and is easier in my opinion, even though I wouldn't say that it's impossible without this additional parameter.
And of course the trivial case must be caught in ms3 to end the recursion, which isn't necessary in ms2.
GeneralMessage Removed Pin
4-May-11 4:44
JavaStudent_LA4-May-11 4:44 
GeneralRe: In-place Merge-Sort with doubly linked list Pin
Manfr3d4-May-11 7:32
Manfr3d4-May-11 7:32 
GeneralRe: In-place Merge-Sort with doubly linked list Pin
JavaStudent_LA8-May-11 11:41
JavaStudent_LA8-May-11 11:41 
Questionmysql to oracle conversion tool Pin
ankit.mathurs21-Apr-11 16:39
ankit.mathurs21-Apr-11 16:39 
AnswerRe: mysql to oracle conversion tool Pin
TorstenH.21-Apr-11 22:56
TorstenH.21-Apr-11 22:56 
Questionform validations in java Pin
ships_agr20-Apr-11 23:47
ships_agr20-Apr-11 23:47 
AnswerRe: form validations in java Pin
TorstenH.21-Apr-11 1:36
TorstenH.21-Apr-11 1:36 
GeneralRe: form validations in java Pin
ships_agr21-Apr-11 20:19
ships_agr21-Apr-11 20:19 
GeneralRe: form validations in java Pin
TorstenH.21-Apr-11 22:36
TorstenH.21-Apr-11 22:36 
GeneralRe: form validations in java Pin
ships_agr25-Apr-11 9:15
ships_agr25-Apr-11 9:15 
QuestionProblem with my code Pin
mofuobi20-Apr-11 23:45
mofuobi20-Apr-11 23:45 
AnswerRe: Problem with my code Pin
TorstenH.21-Apr-11 1:30
TorstenH.21-Apr-11 1:30 
QuestionIWAB0380E Errors were encountered while validating XML schemas. XSD: Pin
R V Reddy20-Apr-11 20:07
R V Reddy20-Apr-11 20:07 
AnswerRe: IWAB0380E Errors were encountered while validating XML schemas. XSD: Pin
Peter_in_278020-Apr-11 20:45
professionalPeter_in_278020-Apr-11 20:45 
AnswerRe: IWAB0380E Errors were encountered while validating XML schemas. XSD: Pin
TorstenH.20-Apr-11 22:08
TorstenH.20-Apr-11 22:08 
GeneralRe: IWAB0380E Errors were encountered while validating XML schemas. XSD: Pin
Wael Al Wirr18-May-11 22:53
Wael Al Wirr18-May-11 22:53 
Questioncan we drop packet passing through us and resend it after altering it? Pin
csanuragjain16-Apr-11 21:17
csanuragjain16-Apr-11 21:17 

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.