« first day (1160 days earlier)      last day (1268 days later) » 

1:35 AM
I got this question for my job interview
been ponderin it for days
can i post it here?
 
ok
 
The singly linked list has the following property:

Odd placed nodes are in increasing order and even placed nodes are in decreasing order.
The last value of the odd placed node is always smaller than the last value of the even placed node.
E.G 1->9->3->8->5->7->6

Only 1 Traversal is allowed. No data structures is allowed to store the values. You are not ALLOWED to create a new node. At most, only 3 temp pointers of node is allowed. Not allowed to use any helper method.
 
user3010322
@MartinJames WELCOME TO HEAVEN ^
 
Sort the linked list
 
Have fun with your homework
 
1:51 AM
@kingboonz no
don't give me that crap
 
wut
help plez
 
this websai fkn suckas
call itself a help site
 
lololol and so you expected us to do your homework for you?
 
itsw not a homework man
 
2:01 AM
18 messages moved from Lounge<C++>
 
2:15 AM
2 messages moved from Lounge<C++>
 
2 messages moved from Lounge<C++>
 
heres have some selena gomez noods
 
4 messages moved from Lounge<C++>
 
 
2 hours later…
 
15 hours later…
1 message moved from PHP
 

« first day (1160 days earlier)      last day (1268 days later) »