Monish
BAN USER
Comments (4)
Reputation 0
Page:
1
Comment hidden because of low score. Click to expand.
Comment hidden because of low score. Click to expand.
Comment hidden because of low score. Click to expand.
0
of 0 vote
Every category will have many products, each products will have average ratings.
So to find top 10 products for a category
select all products p for the requested category X where p.rating > ( Average rating for the product p) limit/rowlimit 10.
Average rating for a product can be calculated everytime query/request is run to get the average in that moment in time.
Comment hidden because of low score. Click to expand.
0
of 0 vote
8 teams will play other 7 teams twice, so they would play 14 games in all. Now say 1 game win is 1 point, ideally best team winning all will have 14 points. the next best will have 13,12,11. So worst case when the rank 1-3 teams wins as above, teams need to win at least 11 matches to reach semifinal. There can be best cases when team rank1 wins 10 matches
- Monish May 11, 2011Page:
1
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.
This will check for circular linked list, what if the list has a cycle like : a->b->c->d->e->c Note e points back to c.
- Monish May 12, 2011We need to have 2 pointers move first by one and second pointer by 2 and see if they are equal any time.