@Dave: It can have multiple values(twice, thrice,. . . ). *Subhransu Panigrahi * *Mobile:* *+91-9840931538* *Email:* subhransu.panigr...@gmail.com
On Sun, Apr 17, 2011 at 1:06 AM, Dave <dave_and_da...@juno.com> wrote: > @Subhransu: Your description and new example still leave open the > question of whether "repetative" means "occurs exactly twice" or > "occurs twice or more." So, does A(1,2,2,3,3,3) fall within or without > your intended problem? If "occurs exactly twice" is your meaning, then > the xor method proposed by Gunjan Sharma is a solution. > > Dave > > On Apr 16, 1:27 pm, Subhransu <subhransu.panigr...@gmail.com> wrote: > > Rephrasing the array to reflect one non-repetative element. Inconvenience > > regretted. > > A{1, 1024, 2 , 1, 2, *3*, 4, 4, 1024}. > > Now there only one non-repetative element "3"... > > > > *Subhransu Panigrahi > > * > > *Mobile:* *+91-9840931538* > > *Email:* subhransu.panigr...@gmail.com > > > > On Sat, Apr 16, 2011 at 11:39 PM, sravanreddy001 > > <sravanreddy...@gmail.com>wrote: > > > > > > > > > @shadow.. your approach fails if the same number has odd number of > > > occurances... > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "Algorithm Geeks" group. > > > To post to this group, send email to algogeeks@googlegroups.com. > > > To unsubscribe from this group, send email to > > > algogeeks+unsubscr...@googlegroups.com. > > > For more options, visit this group at > > >http://groups.google.com/group/algogeeks?hl=en.- Hide quoted text - > > > > - Show quoted text - > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to algogeeks@googlegroups.com. > To unsubscribe from this group, send email to > algogeeks+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.