On Sat, 2015-03-21 at 07:37 -0500, Joel Neely wrote: > Without giving away the punch line (not knowing the context of your > question), I'll ask you two simpler questions: > 1. What is the time complexity of reversing an empty list? > 2. What happens to the time complexity of reversing any list if it > grows by > one element?
Strikes me as a University course coursework question, and therefore not something to be answered here. Zen style mentoring seems entirely appropriate though. -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.win...@ekiga.net 41 Buckmaster Road m: +44 7770 465 077 xmpp: rus...@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder -- You received this message because you are subscribed to the Google Groups "Java Posse" group. To unsubscribe from this group and stop receiving emails from it, send an email to javaposse+unsubscr...@googlegroups.com. To post to this group, send email to javaposse@googlegroups.com. Visit this group at http://groups.google.com/group/javaposse. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: This is a digitally signed message part