Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK Programming Interviews Exposed: Secrets to Landing Your Next Job 3rd Edition
This is the forum to discuss the Wrox book Programming Interviews Exposed: Secrets to Landing Your Next Job, 3rd Edition by John Mongan, Noah Kindler, Eric Giguere; ISBN: 978-1-118-26136-1
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK Programming Interviews Exposed: Secrets to Landing Your Next Job 3rd Edition section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old December 3rd, 2017, 01:22 PM
AGS AGS is offline
Wrox Technical Editor
Points: 267, Level: 5
Points: 267, Level: 5 Points: 267, Level: 5 Points: 267, Level: 5
Activity: 50%
Activity: 50% Activity: 50% Activity: 50%
 
Join Date: May 2005
Location: Russia
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Default Optimized QuickSort p.140 psuedocode error

Hello,
In pseudocode for the algorithm the condition to swap current element is now defined as
Code:
If the current element <= pivot
but it should be >= according to the implementation that follows and the preceding explanation
Quote:
...each time you find a value greater than or equal to the pivot, you need to move it to the right, into G.
__________________
Alexey Gorkov
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Optimized Quicksort (3rd ed., p 142) mjr BOOK Programming Interviews Exposed: Secrets to Landing Your Next Job 3rd Edition 1 July 11th, 2017 04:20 PM
Quicksort with duplicate values Choucrouteman BOOK Programming Interviews Exposed: Secrets to Landing Your Next Job 2nd Ed ISBN: 978-0-470-12167-2 0 May 27th, 2016 03:46 AM
EDMFunction on Page 140 Cza102282 BOOK: Professional ASP.NET MVC 2 22 May 6th, 2011 05:41 PM
Optimized method to post data & format into Excel shampabera Excel VBA 1 July 14th, 2005 10:23 AM



All times are GMT -4. The time now is 06:39 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.