answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: What is the Big O notation for Rehashing in C?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Explain big O and big omega notations.?

omega notation please see this website http://en.wikipedia.org/wiki/Merge_sort


What is big-o notation for describing time complexity of algorithm?

Big O notation allows to specify the complexity of an algorithm in a simple formula, by dismissing lower-order variables and constant factors.For example, one might say that a sorting algorithm has O(n * lg(n)) complexity, where n is the number of items to sort.Big O notation is used in Computer Science to describe the performance or complexity of an algorithm. Big O specifically describes the worst-case scenario, and can be used to describe the execution time required or the space used (e.g. in memory or on disk) by an algorithm.


What is mean by complexity in c plus plus programming?

Complexity is a measure of how long an algorithm is expected to take and/or how much space is required to complete the task. It is not specific to C++ -- the language is immaterial -- it only applies to algorithms. Complexity is often expressed in big O notation, where O(1) is constant time (the best that can be expected of any algorithm).


What functional group is c-c-c-o-c?

Ether


Traversing in Doubly Linked List is faster then Singly Linked List?

Traversing a doubly linked list is generally faster than traversing a singly linked list, but the speedup depends on how you do the traversal:Traversing from first to last node: No difference.Random access: Doubly linked list is faster, the difference is a fixed factor. (Like twice as fast. Which makes it still very slow for random access compared to arrays.)Reverse order: Doubly linked list is just as fast traversing "backwards" as "forwards", while a singly linked list traversing in reverse order needs to traverse the entire list once for every element in the list - it is a LOT slower. (Time complexity O(n) for doubly linked list, O(n*n) for singly linked, if you are familiar with the notation.)If you are talking about the computer science "big O notation", doubly linked and singly liked lists are the same. This is because the Big O notation ignores fixed factors and only looks at how time increases with the length of the list, and in this respect the two are the same. (Except for the special case of traversing the list in reverse order. Even here a singly linked list could do it in O(n) time - same as a doubly linked list - by reversing the list (O(n)) before traversing it (O(n)) for a total time of 2*O(n), which by the rules of Big O is the same as O(n).)

Related questions

What is the difference between big o and omega notation in c plus plus?

The difference between Big O notation and Big Omega notation is that Big O is used to describe the worst case running time for an algorithm. But, Big Omega notation, on the other hand, is used to describe the best case running time for a given algorithm.


What is asymtotic notations?

aka big O notation e.g. 2*x^2 = O(x^2)


What is the connection between Theta and Big-O notation?

Big O gives an upper bound whereas big theta gives both an upper bound and a lower bound.


Explain big O and big omega notations.?

omega notation please see this website http://en.wikipedia.org/wiki/Merge_sort


What is big-o notation for describing time complexity of algorithm?

Big O notation allows to specify the complexity of an algorithm in a simple formula, by dismissing lower-order variables and constant factors.For example, one might say that a sorting algorithm has O(n * lg(n)) complexity, where n is the number of items to sort.Big O notation is used in Computer Science to describe the performance or complexity of an algorithm. Big O specifically describes the worst-case scenario, and can be used to describe the execution time required or the space used (e.g. in memory or on disk) by an algorithm.


What song goes ive got a very big god o hes always by my side?

The name of the song is "God O" and and it goes like this:G C DI've got a very big God-O, He's always by my sideG D GA very big God-O by my side, by my sideG C DGod is big all over meG C DGod is big all over youG C DGod is big all over usAm DGod is big, all over the worldCHROUSG C DMan's love is so small, its so small, its so smallG C Dbut GOD'S LOVE IS SO BIG, ITS SO BIG, ITS SO BIG


What are the release dates for B-M-O-C- Big Man on Campus - 2004?

B-M-O-C- Big Man on Campus - 2004 was released on: USA: December 2004


What is mean by complexity in c plus plus programming?

Complexity is a measure of how long an algorithm is expected to take and/or how much space is required to complete the task. It is not specific to C++ -- the language is immaterial -- it only applies to algorithms. Complexity is often expressed in big O notation, where O(1) is constant time (the best that can be expected of any algorithm).


What is the notation of kingside castling?

O-O


What are the release dates for C-O-P-S- - 1988 The Case of Big Boss's Bye Bye?

C-O-P-S- - 1988 The Case of Big Boss's Bye Bye was released on: USA: 8 November 1988


What are advantages and disadvantages of big o notation?

AdvantageIt is possible to compare of two algorithmswith running timesConstants can be ignored.Lower orUnits are not imder terms are ignored


What are the release dates for C-O-P-S- - 1988 The Case of the Big Frame Up 1-23?

C-O-P-S- - 1988 The Case of the Big Frame Up 1-23 was released on: USA: 27 October 1988