Search Results

Showing results 1 to 7 of 7
Search took 0.00 seconds.
Search: Posts Made By: Daishi ; Forum: Computer Science and child forums
Forum: Computer Science Nov 23rd, 2005
Replies: 5
Views: 4,383
Posted By Daishi
Well, if you are using Java, this is pretty darn easy to do. Each node could have a list of node references (or pointers, in other languages) within its structure. For example:


class Node {
...
Forum: Computer Science Sep 8th, 2005
Replies: 2
Views: 2,729
Posted By Daishi
The first one is obviously a geometric series, google is your friend if you haven't had that level of math yet.

Don't mess with the second one. n! is O(n!), and it is also O(n^n) (but not...
Forum: Computer Science Aug 28th, 2005
Replies: 2
Views: 5,645
Posted By Daishi
Hehe, ok, that makes sense.

Thank you. :o

-Fredric
Forum: Computer Science Aug 27th, 2005
Replies: 2
Views: 5,645
Posted By Daishi
I saw an example function for some unknown algorithm in a book that was explaining big theta/o/omega notation. I understand how it all works, but this example is throwing me off:

f(n) =...
Forum: Computer Science Aug 17th, 2005
Replies: 31
Views: 18,068
Posted By Daishi
Heh, didn't realize that. :p Can you think of any other weird things like that in C?

-Fredric
Forum: Computer Science Aug 17th, 2005
Replies: 31
Views: 18,068
Posted By Daishi
Woah woah woah. What's so illegal with 'i=i++'? Wouldn't it just try to increment i, and then set i equal to the original value of i, making the ++ do effectively nothing? That's what it does when...
Forum: Computer Science Aug 17th, 2005
Replies: 29
Views: 8,295
Posted By Daishi
Here we go. I decided to do it without using any of those dirty bitwise operators. It was fun. :o No, I don't actually code like this.

#include <iostream>
#include <string>

using...
Showing results 1 to 7 of 7

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC