Karthik Agarwal

Karthik Agarwal

  • NA
  • 748
  • 266.5k

How to find the number of numeric starts with and find the top 3 count among them?

Sep 23 2011 6:29 AM
Hi,

I have a list which contains numeric strings. The numeric strings in list may start with any number from 1 to 9 (it doesn't start with "0"). Now i need to find three top occurrences in the list.

Ex:
1234
2345
2343
4356
6434
2343
2222
4545
6666
6653

top three occurrences in the above list respectively are 2,6,4.

Answers (26)