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...@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