GATE CSE
First time here? Checkout the FAQ!
x
0 votes
60 views
What is the best case and worst case time complexity for Euclid's algorithm?Let numbers be a and b

As per my understanding

Best case - If a and b are multiple :0(1).

Worst case - Both are consecutive fibonicci number.Complexity?
closed with the note: Duplicate http://gateoverflow.in/92487/series-repost-gateoverflow-algorithms-euclids-algorithm#c92690
asked in Algorithms by Loyal (3.1k points)  
closed by | 60 views


Top Users Mar 2017
  1. rude

    4018 Points

  2. sh!va

    2994 Points

  3. Rahul Jain25

    2804 Points

  4. Kapil

    2606 Points

  5. Debashish Deka

    2092 Points

  6. 2018

    1414 Points

  7. Vignesh Sekar

    1318 Points

  8. Bikram

    1218 Points

  9. Akriti sood

    1166 Points

  10. Sanjay Sharma

    1004 Points

Monthly Topper: Rs. 500 gift card

21,439 questions
26,753 answers
60,919 comments
22,929 users