Order of Growth Last Updated : 23 Jul, 2025 Comments Improve Suggest changes 5 Likes Like Report Let f(n) and g(n) be the time taken by two algorithms where n >= 9 and f(n) and g(n) are also greater than equal to 0. A function f(n) is said to be growing faster than g(n) if g(n)/f(n) for n tends to infinity is 0 (or f(n)/g(n) for n tends to infinity is infinity). Example 1: f(n) = 1000, g(n) = n + 1For n > 999, g(n) would always be greater than f(n) because order of growth of g(n) is more than f(n).Example 2: f(n) = 4n2 , g(n) = 2n + 2000f(n) has higher order of growth as it grows quadratically in terms of input size.How do we Quickly find order of Growth?When n >= 0, f(n) >= 0 and g(n) >= 0, we can use the below steps.Ignore the order terms.Ignore the constantsFor example, Example 1 : 4n2 + 3n + 100After ignoring lower order terms, we get4n2After ignoring constants, we getn2Hence order of growth is n2Example 1 : 100 n Log n + 3n + 100 Log n + 2After ignoring lower order terms, we get100 n Log nAfter ignoring constants, we getn Log nHence order of growth is n Log nHow do we compare two order of growths?The following are some standard terms that we must remember for comparison.c < Log Log n < Log n < n1/3 < n1/2 < n < n Log n < n2 < n2 Log n < n3 < n4 < 2n < nn Here c is a constantNext ReadAsymptotic Analysis Worst, Average and Best Cases of AlgorithmsAsymptotic Notations Create Quiz Order of Growth Visit Course Comment K kartik Follow 5 Improve K kartik Follow 5 Improve Article Tags : GATE Explore GATE SyllabusGATE 2025 Syllabus For CSE (Computer Science & Engineering)7 min readGATE DA (Data Science and Artificial Intelligence) Syllabus 2025 - PDF Available8 min readGATE CS TutorialsDigital Electronics and Logic Design Tutorials3 min readDiscrete Mathematics Tutorial3 min readEngineering Mathematics Tutorials3 min readAutomata Tutorial3 min readCompiler Design Tutorial2 min readComputer Organization and Architecture Tutorial4 min readDBMS Tutorial â Learn Database Management System4 min readOperating System Tutorial2 min readComputer Network Tutorial6 min readDSA Tutorial - Learn Data Structures and Algorithms6 min readGATE DA TutorialsMath for Data Science3 min readData Structures with Python Tutorial for GATE DA 20252 min readMachine Learning Algorithms8 min readArtificial Intelligence for GATE 20253 min readDatabases (DBMS) for GATE Exam3 min readData Warehousing Tutorial4 min readAptitudeAptitude Questions and Answers3 min readPractice ContentGATE CS Notes15+ min readGATE DA Notes (According to GATE 2025 Syllabus)9 min readLast Minute Notes -LMNs2 min readGATE CSE and DA Previous Years Papers PDF Download Link5 min read Like