Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Integer array: num of times index(key) equals value in log(n)

807589Sep 15 2008 — edited Sep 15 2008
Hi all,

For an array of integers I am trying to find out the number of times the index(key) and the values are the same in log(n) time. any hints?

Edited by: dannyvitali on Sep 15, 2008 6:33 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 13 2008
Added on Sep 15 2008
4 comments
67 views