binhngoc17
BAN USER
Comments (4)
Reputation -20
Page:
1
Comment hidden because of low score. Click to expand.
Comment hidden because of low score. Click to expand.
0
of 0 vote
I think the length will be varied in a wide range so the number of buckets will be a lot. How about the startting character of the link. Like facebook, then f.
Or may be part of the link, like .com or .org.
Comment hidden because of low score. Click to expand.
0
of 0 vote
I think there would not be any definite guideline for this but probably if there is duplicate there would be complication in searching & inserting.
- binhngoc17 November 03, 2012Comment hidden because of low score. Click to expand.
-4
of 4 vote
It will print class B first, then C, then A. Because when C is instantiated, C will call super which print B, then print C and finally A
- binhngoc17 November 03, 2012Page:
1
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.
I think that we can identify whether the number can be decompose into 3 numbers a,b,c such that a+b = c first. And then if any subset of the number can be decomposed, we then propagate to the end of the number. It will take O(n^3)
- binhngoc17 November 18, 2012