ssooooooooeeeyyyyy!!! Feeb, I'll be needing C code to run your own algorithm to find the '>n/2 element' !

Liste des GroupesRevenir à col advocacy 
Sujet : ssooooooooeeeyyyyy!!! Feeb, I'll be needing C code to run your own algorithm to find the '>n/2 element' !
De : guhnoo-basher (at) *nospam* linux.advocaca (DFS)
Groupes : comp.os.linux.advocacy
Date : 19. Jan 2025, 18:16:47
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vmjc1q$2biea$2@dont-email.me>
User-Agent : Betterbird (Windows)
That is, in a given dataset of length n there is an element present more than n/2 times.
Write a program to identify said element and its frequency  (without looking online for ideas or code, of course).
sample data: 321212322212132321323122121232223
sample data:
1212121212121212121212121212121212121212
2121212121212121212121212121212121212121
11122211122212112212112221112221112221112
2211221122112211212112211221122112112211
11221122112211221122112211221122112211222
22112211221122112211221122112211221121211
1212121212221212122211221122211122112211
No doubt a self-proclaimed 'computer scientist' and 'C Programmer Extraordinaire' and 'REAL PROGRAMMER' like yourself can handle this modest request...
To get you pumped up for this huge effort, let me remind you of your world-class C credentials:
* Give me plain C, or assembly, and I will move the earth.
* Give me C and a Xeon W and I shall move the earth!
* Give me C/Assembly and I shall move the earth in 2 lines
* All my code is ABSOLUTELY PERFECT.  Always.
soooooeeeeeyyyyy!!!!! sss-sss-ssooooooeeeyyyy!!!

Date Sujet#  Auteur
19 Jan 25 o ssooooooooeeeyyyyy!!! Feeb, I'll be needing C code to run your own algorithm to find the '>n/2 element' !1DFS

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal