Hacker Hero Logo
  • Home
  • Groups
  • LOGIN
Adv. Algorithms & Data Structures chevron_right Overview chevron_right Big O notation (1/50)
chevron_left Prev Next chevron_right
  • Overview (0/1 completed)

    • Big O notation 0/1
  • Recursions (0/9 completed)

    • Sigma 0/3
    • Factorial 0/3
    • Fibonacci 0/3
    • Zibonacci 0/3
    • String Anagrams 0/3
    • Binary String Expansion 0/3
    • Telephone Words 0/3
    • All Valid N Pairs of Parens 0/3
    • Recursive Binary Search 0/3
  • Dynamic Programming (0/1 completed)

    • Fibonacci 0/3
  • Sorting (0/4 completed)

    • BubbleSort 0/3
    • SelectionSort 0/3
    • InsertionSort 0/3
    • QuickSort 0/3
  • Nodes (0/6 completed)

    • Adding a node (part I) 0/3
    • Adding a node (part II) 0/3
    • Removing a node (part I) 0/3
    • Removing a node (part II) 0/3
    • Inserting a node (part I) 0/3
    • Printing values in the nodes 0/3
  • Singly Linked List (0/6 completed)

    • Adding a node to the back 0/3
    • Adding a node to the front 0/3
    • Remove from front 0/3
    • Remove from back 0/3
    • Remove Value 0/3
    • Insert At 0/3
  • Queues and Stacks (0/16 completed)

    • Implementing Queues 0/3
    • Implementing Stacks 0/3
    • Priority Queue 0/3
    • asd
    • as
    • as
    • as
    • asd
    • asd
    • sad
    • asd
    • asd
    • asd
    • asd
    • asd
    • asd
  • Doubly Linked List (0/2 completed)

    • Introduction 0/3
    • Delete Middle Node 0/3
  • Binary Search Tree (0/2 completed)

    • BST add 0/3
    • BST depth-first search 0/3
  • Hash Table (0/2 completed)

    • Creating a hash table 0/3
    • Adding a key value pair 0/3
  • Design Patterns (0/1 completed)

    • Introduction to Design Patterns 0/1

Big O notation

Submitted answers • 296

Top Answers

  • Esther

    One for loop is better than two, and nested for loops are the devil. Binary search trees are king.Posted 3 years ago

    • Anju

      Big O notation is Used to tell how long the code runs for large amount of data. The bigger the power of N , longer is the time taken to run and it become less efficient.Posted 3 years ago

      • PagiY

        Big(O) notation can help you understand why your code is inefficient.Posted 5 days ago

        • Muhammad

          Great!Posted 18 days ago

          • ChristySaad

            Think about the code logic, and check its Big O. If it is larger than N or there's a possibility to make it log(n), use other techniques, which may be another selected data structure, to reduce the time and get a faster version.Posted 22 days ago

            • tomleroy

              Ok, hard things aheadPosted 1 month ago

              • TJM

                run-time complexity is a big factor when comes to performancePosted 1 month ago

                • AndreiLim

                  nicePosted 2 months ago

                  • Ayanokouji

                    okPosted 2 months ago

                    • Reymar

                      we need to write code efficiently, be mindful of why we do this algorithm and data structures.. run-time complexity is a big factor when comes to performance of the applicationPosted 2 months ago

                      Cannot Rate Yet

                      Thank you, but we only allow users who solved at least 10 units to write a review.

                      Premium Content

                      Please use 0 credits to unlock all premium contents on Adv. Algorithms & Data Structures

                      Next Go Pro

                      Insufficient credit? Buy Credits or to get +10 credits.

                      Great Job! You've completed the Adv. Algorithms & Data Structures Learning Module!

                      Congratulations! You’ve solved all of the 50 units of Adv. Algorithms & Data Structures and earned a total of stars. Go to dashboard and pick the learning module that you want to take up next.

                      Total Level Progress: 100%
                      Go to Dashboard
                      Submitted answers • 296 Next
                      Challenge Succesfully Created
                      LIVE

                      Join Now

                      Welcome

                      Every Hacker Hero has a name. Let yours be known to all!

                      Too short (minimum of 3 characters)

                      Your hero name will be used throughout the game. Whether you use your real name or hide your identity, it’s all up to you.

                      Where does {{player name}} live?

                      Select your country and be its pride.

                      • Afghanistan
                      • Albania
                      • Algeria
                      • American Samoa
                      • Andorra
                      • Angola
                      • Anguilla
                      • Antarctica
                      • Antigua and Barbuda
                      • Argentina
                      • Armenia
                      • Aruba
                      • Australia
                      • Austria
                      • Azerbaijan
                      • Bahamas
                      • Bahrain
                      • Bangladesh
                      • Barbados
                      • Belarus
                      • Belgium
                      • Belize
                      • Benin
                      • Bermuda
                      • Bhutan
                      • Bolivia
                      • Bonaire
                      • Bosnia and Herzegovina
                      • Botswana
                      • Bouvet Island
                      • Brazil
                      • British Indian Ocean Territory
                      • British Virgin Islands
                      • Brunei
                      • Bulgaria
                      • Burkina Faso
                      • Burundi
                      • Cambodia
                      • Cameroon
                      • Canada
                      • Cape Verde
                      • Cayman Islands
                      • Central African Republic
                      • Chad
                      • Chile
                      • China
                      • Christmas Island
                      • Cocos [Keeling] Islands
                      • Colombia
                      • Comoros
                      • Cook Islands
                      • Costa Rica
                      • Croatia
                      • Cuba
                      • Curacao
                      • Cyprus
                      • Czech Republic
                      • Democratic Republic of the Congo
                      • Denmark
                      • Djibouti
                      • Dominica
                      • Dominican Republic
                      • East Timor
                      • Ecuador
                      • Egypt
                      • El Salvador
                      • Equatorial Guinea
                      • Eritrea
                      • Estonia
                      • Ethiopia
                      • Falkland Islands
                      • Faroe Islands
                      • Fiji
                      • Finland
                      • France
                      • French Guiana
                      • French Polynesia
                      • French Southern Territories
                      • Gabon
                      • Gambia
                      • Georgia
                      • Germany
                      • Ghana
                      • Gibraltar
                      • Greece
                      • Greenland
                      • Grenada
                      • Guadeloupe
                      • Guam
                      • Guatemala
                      • Guernsey
                      • Guinea
                      • Guinea-Bissau
                      • Guyana
                      • Haiti
                      • Heard Island and McDonald Islands
                      • Honduras
                      • Hong Kong
                      • Hungary
                      • Iceland
                      • India
                      • Indonesia
                      • Iran
                      • Iraq
                      • Ireland
                      • Isle of Man
                      • Israel
                      • Italy
                      • Ivory Coast
                      • Jamaica
                      • Japan
                      • Jersey
                      • Jordan
                      • Kazakhstan
                      • Kenya
                      • Kiribati
                      • Kosovo
                      • Kuwait
                      • Kyrgyzstan
                      • Laos
                      • Latvia
                      • Lebanon
                      • Lesotho
                      • Liberia
                      • Libya
                      • Liechtenstein
                      • Lithuania
                      • Luxembourg
                      • Macao
                      • Macedonia
                      • Madagascar
                      • Malawi
                      • Malaysia
                      • Maldives
                      • Mali
                      • Malta
                      • Marshall Islands
                      • Martinique
                      • Mauritania
                      • Mauritius
                      • Mayotte
                      • Mexico
                      • Micronesia
                      • Moldova
                      • Monaco
                      • Mongolia
                      • Montenegro
                      • Montserrat
                      • Morocco
                      • Mozambique
                      • Myanmar [Burma]
                      • Namibia
                      • Nauru
                      • Nepal
                      • Netherlands
                      • New Caledonia
                      • New Zealand
                      • Nicaragua
                      • Niger
                      • Nigeria
                      • Niue
                      • Norfolk Island
                      • North Korea
                      • Northern Mariana Islands
                      • Norway
                      • Oman
                      • Pakistan
                      • Palau
                      • Palestine
                      • Panama
                      • Papua New Guinea
                      • Paraguay
                      • Peru
                      • Philippines
                      • Pitcairn Islands
                      • Poland
                      • Portugal
                      • Puerto Rico
                      • Qatar
                      • Republic of the Congo
                      • Réunion
                      • Romania
                      • Russia
                      • Rwanda
                      • Saint Barthélemy
                      • Saint Helena
                      • Saint Kitts and Nevis
                      • Saint Lucia
                      • Saint Martin
                      • Saint Pierre and Miquelon
                      • Saint Vincent and the Grenadines
                      • Samoa
                      • San Marino
                      • São Tomé and Príncipe
                      • Saudi Arabia
                      • Senegal
                      • Serbia
                      • Seychelles
                      • Sierra Leone
                      • Singapore
                      • Sint Maarten
                      • Slovakia
                      • Slovenia
                      • Solomon Islands
                      • Somalia
                      • South Africa
                      • South Georgia and the South Sandwich Islands
                      • South Korea
                      • South Sudan
                      • Spain
                      • Sri Lanka
                      • Sudan
                      • Suriname
                      • Svalbard and Jan Mayen
                      • Swaziland
                      • Sweden
                      • Switzerland
                      • Syria
                      • Taiwan
                      • Tajikistan
                      • Tanzania
                      • Thailand
                      • Togo
                      • Tokelau
                      • Tonga
                      • Trinidad and Tobago
                      • Tunisia
                      • Turkey
                      • Turkmenistan
                      • Turks and Caicos Islands
                      • Tuvalu
                      • U.S. Minor Outlying Islands
                      • U.S. Virgin Islands
                      • Uganda
                      • Ukraine
                      • United Arab Emirates
                      • United Kingdom
                      • United States
                      • Uruguay
                      • Uzbekistan
                      • Vanuatu
                      • Vatican City
                      • Venezuela
                      • Vietnam
                      • Wallis and Futuna
                      • Western Sahara
                      • Yemen
                      • Zambia
                      • Zimbabwe
                      • Åland

                      Confirmation

                      Claim your 1-year FREE subscription by logging in with your Coding Dojo Learning Platform account.

                      Log In

                      Log in so your best work can be saved as your advances through the game.

                      Log In with Google Log In with Facebook

                      By logging in, I agree to Hacker Hero's Terms of Service and Privacy Policy.

                      hackerhero logo Warning image for maintenance

                      Oops!

                      We apologize for the inconvenience. We encountered an internal error or misconfiguration and was unable to complete your request.

                      To continue, please reload the page. Thank you!

                      Reload

                      View Result

                      Delete Comment

                      Are you sure you want to delete this comment?

                      Payment Confirmation

                      You have credits available. Would you like to use your 0 credits to unlock the premium content of Adv. Algorithms & Data Structures?

                      Unlock more video solutions and premium contents, Go PRO, Buy Credits or to get +10 credits

                      Insufficient Credits

                      You have credits available but this module requires 0 credits. Do you want to buy additional credits to access ALL premium contents of Adv. Algorithms & Data Structures?

                      Buy Credits

                      Unlock more video solutions and premium contents, Go PRO or to get +10 credits

                      Hi , enjoy Hacker Hero with your friends.

                      Invite your friends to join Hacker Hero and get an additional 10 credits once they join our community

                      Sent to

                      Credits

                      Credits are used to unlock video solutions and access premium contents. You can buy more credits for as low as $5.

                      Buy Credits