Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old May 7th, 2007, 11:26 PM   #1
physicist
Hobbyist Programmer
 
Join Date: Oct 2006
Posts: 146
Rep Power: 2 physicist is on a distinguished road
mnemonic for Big-O notatin

i am cramming for AP CS AB right now...is there an easy way to remember Big-O notation for lists, arrays, trees, collections, and sorting mechanisms? Perhaps a mnemonic? i know some things, like doing anything in an unbalanced bst is always O(n)except searching can be O(n^2) if its totally unbalanced which makes sense intuitively anyway so i dont have to memorize 6that, and i know that balanced bst is always log(n) except its n for traversal...
physicist is offline   Reply With Quote
Old May 8th, 2007, 1:26 AM   #2
uman
Expert Programmer
 
Join Date: Dec 2004
Posts: 794
Rep Power: 4 uman is on a distinguished road
Why are you trying to memorize this? If you learn the concept, shouldn't you be able to figure it out easily by looking at the algorithm?
__________________
Few people deserve to be compared to (Rush) Limbaugh, most of them were convicted at the Nuremburg trials.
--WilliamSChips on Slashdot
uman is offline   Reply With Quote
Old May 8th, 2007, 5:35 PM   #3
physicist
Hobbyist Programmer
 
Join Date: Oct 2006
Posts: 146
Rep Power: 2 physicist is on a distinguished road
well i think i did pretty well on AP CS AB, however i have this feeling that maybe i got owned and didnt realize it...idk i thought i actually knew most of the stuff there...but im not perfectly sure that i got a 5
physicist is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help coming up with mnemonic for command processing aznluvsmc Bash / Shell Scripting 6 Feb 21st, 2006 5:56 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 10:48 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC