Skip to content
IT Nursery
  • Home
  • Programming
    • Mac / IOS
    • Android
    • Web Applications
    • PHP
    • Java
    • C
    • C++
  • DataBase
    • MySQL
  • CMS
    • WordPress
  • System and Network
    • Serverfault

big-o

What is Constant Amortized Time?

by IT Nursery

Amortised time explained in simple terms: If you do an operation say a million times, you don’t really care about the worst-case or … Read more

Tags algorithm, big-o, complexity-theory

What are the complexity guarantees of the standard containers?

by IT Nursery

Apparently 😉 the standard containers provide some form of guarantees. What type of guarantees and what exactly are the differences between the different … Read more

Tags big-o, c, containers, stl

Is a Java hashmap search really O(1)?

by IT Nursery

I’ve seen some interesting claims on SO re Java hashmaps and their O(1) lookup time. Can someone explain why this is so? Unless … Read more

Tags big-o, hashmap, java, time-complexity

Big-O summary for Java Collections Framework implementations? [closed]

by IT Nursery

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. We don’t allow questions seeking recommendations for books, … Read more

Tags big-o, collections, java

Are 2^n and n*2^n in the same time complexity?

by IT Nursery

Resources I’ve found on time complexity are unclear about when it is okay to ignore terms in a time complexity equation, specifically with … Read more

Tags algorithm, big-o, complexity-theory, time-complexity

Are there any worse sorting algorithms than Bogosort (a.k.a Monkey Sort)?

by IT Nursery

My co-workers took me back in time to my University days with a discussion of sorting algorithms this morning. We reminisced about our … Read more

Tags algorithm, big-o, sorting

What exactly does big Ө notation represent?

by IT Nursery

I’m really confused about the differences between big O, big Omega, and big Theta notation. I understand that big O is the upper … Read more

Tags algorithm, big-o, big-theta, computer-science, notation

How to find the kth largest element in an unsorted array of length n in O(n)?

by IT Nursery

I believe there’s a way to find the kth largest element in an unsorted array of length n in O(n). Or perhaps it’s … Read more

Tags algorithm, big-o, performance

Are there any cases where you would prefer a higher big-O time complexity algorithm over the lower one?

by IT Nursery

Are there are any cases where you would prefer O(log n) time complexity to O(1) time complexity? Or O(n) to O(log n)? Do … Read more

Tags algorithm, big-o, time-complexity

Is log(n!) = Θ(n·log(n))?

by IT Nursery

I am to show that log(n!) = Θ(n·log(n)). A hint was given that I should show the upper bound with nn and show … Read more

Tags algorithm, big-o, complexity-theory, math, recursion
Post navigation
Older posts
Page1 Page2 Page3 Next →

Recent Posts

  • Advice for improving internal dashboard [closed]
  • grep : ‘+’ special character
  • File location for Syslogs in Centos machine
  • How to collect users’ task completion times?
  • “service {FOO} start” vs. “/etc/init.d/{FOO} start”? [closed]
IT Nursery
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Important Link

  • About
  • Privacy Policy
  • Contact

IT Nursery

The Goal of ITNursery Engaging the world to foster innovation through aggregate information. Our Question Answer post, blog information, products and tools help developers and technologists in life and at work.

copyright © 2023 All Right Reserved | IT NurSery