Sponsored Links


Results 1 to 1 of 1

Thread: CS502 Fundamentals of Algorithms Assignment No.2 Fall Semester 26th November 2012

  1. #1
    Administrator Vuhelper's Avatar
    Join Date
    Apr 2011
    Posts
    9,578

    18 CS502 Fundamentals of Algorithms Assignment No.2 Fall Semester 26th November 2012

    Sponsored Links1





    CS502 Fundamentals of Algorithms Assignment No.2 Fall Semester 26th November 2012

    Sponsored Links


    CS 502 Fundamental of Algorithms
    Assignment # 02
    Fall 2012
    Total Marks = 20
    Deadline

    Your assignment must be uploaded / submitted before or on Nov 27, 2012


    Rules for Marking
    Please note that your assignment will not be graded if:
    • It is submitted after due date
    • The file you uploaded does not open
    • The file you uploaded is copied from someone else or from internet
    • It is in some format other than .doc

    Note: Material that is an exact copy from handouts or internet would be graded
    Zero marks. Your solution should consist of the material found through different sources and written in your own words.

    Assignment Statements:

    Question 1:
    Show that the worst-case running time of MAX-HEAPIFY on a heap of size n is Ω (lg n).

    (Hint: For a heap with n nodes, give node values that cause MAX-HEAPIFY to be called recursively at every node on a path from the root down to a leaf.)

    Question 2:
    Suppose that the splits at every level of quicksort are in the proportion 1 - α to α, where 0 < α which is ≤ 1/2 is a constant. Show that the minimum depth of a leaf in the recursion tree is approximately - lg n/ lg α and the maximum depth is approximately -lg n/ lg(1 - α). (Don't worry about integer round-off.)

    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 02-11-2013, 04:06 PM
  2. Replies: 1
    Last Post: 01-28-2013, 02:19 PM
  3. CS502 Fundamentals of Algorithms Online Quiz No. 1 Fall Semester 2012
    By Vuhelper in forum MCQ's & Quiz Discussion
    Replies: 0
    Last Post: 11-12-2012, 02:05 PM
  4. Replies: 0
    Last Post: 11-03-2012, 03:18 PM
  5. Replies: 0
    Last Post: 01-23-2012, 09:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
-: Vuhelp Disclaimer :-
None of the files shown here are hosted or transmitted by this server. The links are provided solely by this site's users. The administrator's or staff of Vuhelp.net cannot be held responsible for what its users post, or any other actions of its users. You may not use this site to distribute or download any material when you do not have the legal rights to do so. It is your own responsibility to adhere to these terms. If you have any doubts about legality of content or you have any suspicions, feel free to contact us.
Online Education | JhelumSoft