Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: occurence of repeated numbers group

by Anonymous Monk
on Jul 19, 2018 at 13:54 UTC ( [id://1218825]=note: print w/replies, xml ) Need Help??


in reply to occurence of repeated numbers group

looks like 12 repates 3 times.

  • Comment on Re: occurence of repeated numbers group

Replies are listed 'Best First'.
Re^2: occurence of repeated numbers group
by satya02 (Initiate) on Jul 19, 2018 at 14:08 UTC

    Thank you. 12 is not '1 2'. I want to know how many times the same pattern ( group ) is repeated.

    1 2 5 9

    1 2 5 10

    4 5 10 12

    5 9 10 11

    output:-

    1 2 repated 2 times

    2 5 repeated 2 times

    5 10 repeated 3 times

    5 9 repated 2 times

    Thanks

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1218825]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2024-04-23 23:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found