Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #44.2K
~180 People Reached
Favorite Forums
Computer Science
x
3
Say Hello!
x
1
Hi all! I'm having some trouble computing the time complexity of the following code: (A and B are doubles greater than 1) [code=c] void do(int n) { if (n<=1) return; print(n); do(n*A/(A+B)); do(n*B/(A+B)); } void print(int n) { int i; for (i=0;i<ni++) printf("-"); } [/code] He's what I got to … |
|
Hey, guys... My first post here! I'm a student for a first degree in computer science. Hope you'll be able to help me out! |