Cloudera Hints At IPO By Hiring A New CEO Who Took His Last Company Public
Then Sold It For $1.5 Billion
-
[image: Cloudera Tom Reilly]
Cloudera is one of the most watched big data startups in the Valley and it
just took another step towards an IPO by hiring T...
5 minutes ago
p% times ..question is not clear can U provide the algo or code for this
ReplyDeletedef appears(a, p):
ReplyDeletem = len(a)
count = {}
for i in a:
if count.has_key(i):
count[i] += 1
else:
count[i] = 1
for i, c in count.iteritems():
if float(c)*100/m == p:
return i
return None
a = [1,2,4,4,4,1,8,-1,23,23]
print appears(a, 10)