A YouTube channel MindYourDecisions posted a video about an interesting Chinese College Entrance exam question. The following is the screen of the problem posted by MindYourDecisions: Draw the graph of
In previous sorting animations, we animated selection, insertion, and bubble sort. They are slow O(n^2) slow sorting algorithm. Merge Sort, a divide and conquer algorithm, is a much faster sorting
Vogel’s model is closely related to the Fermat’s Spiral. Instead of continuously drawing the spiral curve, Vogel’s model draws dot in constant spacing. The constant space used in Vogel’s model