Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: •Re: Re: (OT) Interview questions -- your response?

by Anonymous Monk
on Sep 03, 2002 at 22:40 UTC ( #194926=note: print w/replies, xml ) Need Help??


in reply to •Re: Re: (OT) Interview questions -- your response?
in thread (OT) Interview questions -- your response?

True enough, and not an unexpected claim. Though one *could* argue that:
@array[$left,$right] = @array[$right,$left];

Isn't any more "in-place", as it is the same thing when the array is only two elements. And I didn't see where using a constant amount of additional memory was part of the requirement :-)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://194926]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2019-07-19 10:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?