i have snd u pseudo code, but plz must chnage it,otherwise both get zero marks.
-- - for i ← 1 to length(A) - 1
- do key ← i
- Find the i-th smallest element of A
- for j ← i to length(A)
- do key2 ← j
- if A[key] > A[key2]
- then key ← key2
- Exchange the i-th smallest element and i-th element of A
- temp ← A[key]
- A[key] ← A[i]
- A[i] ← temp
On Mon, Apr 23, 2012 at 8:28 AM, NAZISH KANWAL <mc100400722@vu.edu.pk> wrote:
fari mje 1st question ki samaj nhi aa rhi. plzzzzzzzzz tell me about thatis me pseudo code kese likhna ha?--
--
Please visit www.vuzs.net For Current & Old Papers, Quizzes, Assignments and study material.
To post a new message on this group, send email to vuZs@googlegroups.com
Message Posting Rules: http://vuzs.net/faq/4795-vuzs-google-groups-basic-rules-for-posting-messages.html
--
To unsubscribe from this group, send email to vuZs+unsubscribe@googlegroups.com
--
To join this group Send blank email to vuZs+subscribe@googlegroups.com
or visit
http://groups.google.com/group/vuZs/subscribe
--
Please visit www.vuzs.net For Current & Old Papers, Quizzes, Assignments and study material.
To post a new message on this group, send email to vuZs@googlegroups.com
Message Posting Rules: http://vuzs.net/faq/4795-vuzs-google-groups-basic-rules-for-posting-messages.html
--
To unsubscribe from this group, send email to vuZs+unsubscribe@googlegroups.com
--
To join this group Send blank email to vuZs+subscribe@googlegroups.com
or visit
http://groups.google.com/group/vuZs/subscribe
No comments:
Post a Comment