| | |
Confusion about Algorithm Analysis Problem.
Please support our Computer Science advertiser: Learn about neural networks and artificial intelligence.
![]() |
•
•
Join Date: Aug 2004
Posts: 14
Reputation:
Solved Threads: 0
•
•
•
•
The Algorithm A is the correct algorithm to solve problem Y.
For each n, A requires N^2 time on all inputs of size n. What can you conclude about the upper bound and lower bound for problem Y
I think I know how to do this maybe. An algorithm A is O(f(n)) means thats... if the input is of size n then the algorithm will stop after f(n) time.
so in the problem O(f(n)) = n^2
So shouldn't the upper bound be the same as any other algorithm that runs at O(n^2)). And lower bound?
![]() |
Similar Threads
- Time complexity of algorithm (Computer Science)
- algorithm problem on paths (C++)
- Problem w/ PowerPoint (Windows Software)
- scheduling algorithm!?!?!? (Java)
- IE problem - Something's wrong with this JS (JavaScript / DHTML / AJAX)
- correct my algorithm for average problem (C++)
- Help On Time Complexity Algorithm (Computer Science)
- Algorithm Analysis (C)
- Can you guys help me? about Quick Sort Algorithm (C)
Other Threads in the Computer Science Forum
- Previous Thread: Integrated Development Environment (IDE) Usability Survey
- Next Thread: Need help in understanding Round Robin!!! Please help!!!
| Thread Tools | Search this Thread |
ai algorithm algorithms amazon assignment assignmenthelp automata battery binary bittorrent bizarre bletchleypark blogging bomb business cern codebreaker compiler computer computers computerscience computertrackingsoftware connect conversion csc data dataanalysis dataintepretation development dfa dissertation dissertations dissertationthesis dissertationtopic ebook employment energy extensions floatingpoint foreclosure foreclosuresoftware fuel gadgets geeks givemetehcodez government graphics hardware history homeowners homeworkassignment humor ibm idea ideas internet iphone ipod itcontracts jobs kindle laser laws lsmeans marketing mining mobileapplication msaccess nano netbeans networking news os piracy piratebay principles programming rasterizer research sam-being-cute sas science security sex spying sql stephenfry study supercomputer supercomputing sweden technology textfield turing turingtest two'scompliment uk virus warehouse ww2





