Forum: Oracle Sep 10th, 2009 |
| Replies: 1 Views: 979 Hi there,
I'm trying to write a SQL query based on the following tables.
create table purch (
integer user_id, *
integer product_id, *
integer item_count,
date purch_date *
); |
Forum: C Jul 24th, 2009 |
| Replies: 4 Views: 474 Thanks Tom. I'll read about those algorithms.
Tina |
Forum: C Jul 23rd, 2009 |
| Replies: 4 Views: 474 Yes, I agree. Your code takes more memory and runs faster. I still need to figure out if there are other options. I'll give it another try.
Thanks a lot.
Tina |
Forum: C Jul 23rd, 2009 |
| Replies: 4 Views: 474 Hi,
Could someone tell me if there's a better way of doing this? I was asked this question in an interview and I wrote a piece of code of O(n2).
Thanks,
Tina |
Forum: C May 29th, 2009 |
| Replies: 4 Views: 879 Hi,
Thanks for responding!
I was thinking of doing it at the bit level using the bit operators.
Thanks again,
Tina |
Forum: C May 28th, 2009 |
| Replies: 4 Views: 879 Hi there,
I tried binary addition. It seems to work fine. Could someone tell me if there's a better way of doin this or any bugs that could be uncovered in the code below?
I appreciate your... |