Week 6 quiz question 4 was mispelled

123 views
Skip to first unread message

Mayank Kataria

unread,
Dec 17, 2020, 9:55:21 AM12/17/20
to Discussion forum for Programming, Data Structures&Algorithms Using Python
I've already put this question 2 times but nobody is responding to it. There must be comma(.) instead of dot(.) in question. I interpreted as dot(.) and answered accordingly. I'm not wrong, the question was mispelled. Please allot me marks for that. It would be fine if I had given all 8 quizzes, but I've given only 6 quizzes so there's no optional backup for me. Please respond to my query.

Aman Kumar

unread,
Dec 17, 2020, 1:01:36 PM12/17/20
to Discussion forum for Programming, Data Structures&Algorithms Using Python, Mayank Kataria
Dear Mayank,
      It's true that the question has a typographical error. It should have been a comma instead of period. But you can observe that if it is a period then it is violating the Heap Property, so it tells us that it is a comma and not a period.
     Still, I agree with you that the question has an error in printing.

Thank You

Mayank Kataria

unread,
Dec 20, 2020, 2:23:57 AM12/20/20
to Discussion forum for Programming, Data Structures&Algorithms Using Python, Aman Kumar, Mayank Kataria
Dear Aman,
      Since list in python accepts multiple datatypes I was able to perform heap operations with float numbers as well. Though I had some doubt regarding the Heap property as you said but I didn't wanted to take a chance. What if I answered the question by considering typographical error and suddenly I'm proved wrong. At least now I have a valid reason to stand by me.

Thank You

Reply all
Reply to author
Forward
0 new messages