
January 31st, 2012, 12:24 AM
|
|
Registered User
|
|
Join Date: Jan 2012
Posts: 1
Time spent in forums: 10 m 14 sec
Reputation Power: 0
|
|
|
Need the best way/algorithm to use for following condition?
Hi all,
Lets take example first
I have a list of users having different values of A,B,C.
user A B C
User 1. test1 A1 B1 C3
User 2 test2 A1 B1 C1
User 3 test3 A2 B3 C3
A contains element in range of (1-400)
B contains element in range of (1-200)
C contains element in range of (1-300)
So i need to develop a algorithm that gives me the result in very quick time whenever i query for those variable A,B,C
ex. give me users whose A=A1, B=B1, C=C3 [Answer should be test1]
i can also say give me users whose A=A1[Answer should be test1,test2]
Thanks
Nikhil
|