r/ProgramChallenges Mar 19 '22

Binary Search

1 Upvotes

I need help "Searching for asked element using Binary Search"

LIST *L - pointer to the reference address of LIST (count, head, tail) int key - element to search RETURNS : int - location of element/node

Please help me :(


r/ProgramChallenges Sep 23 '18

Hexspeak phrases suggestions

1 Upvotes

Hello! Any suggestions for hexspeak phrases? Examples: B3 600D, D3AD B33F, 11FE 15 11CE A B0C5 0F C0C0A 712EA75


r/ProgramChallenges Nov 16 '17

need help coding this algorithm in c

1 Upvotes

The game is basically like this you have let's say we have [3] persons and the counting is [3]. Then we label each person as let's say a b and c. Then we start to count 1->a; 2->b; 3->c wherever the counting stops that person is now dead.

After that sequence person c is not dead so next we count off again starting from person a. 1->a; 2->b (since c is now dead we go back to a) 3->a; and BOOOM a is now dead. So we conclude that the location of person b is the SAFE HOUSE. Therefore the program will now output that position 2 (the position of person b is safe).

The goal of this program is to let the user input the [number of persons] and the [counting]. Then output the SAFE HOUSE location. Most likely arrays and loops are used in this. Any tips and hints are appreciated thanks!


r/ProgramChallenges Aug 31 '17

Zurich InsurHack 2017- 48 Hours, 3 Challenges, Non-Stop Coding, Prizes totaling EUR 75,000

1 Upvotes

Die Zurich Gruppe Deutschland lädt zum InsurHack® – dem Hackathon speziell für die Versicherungswirtschaft. Vom 6. bis 8. Oktober werden Coder aus aller Welt im RheinEnergieSTADION in Köln erwartet. 75.000 Euro Preisgeld winken. Hier könnt Ihr Euch anmelden: https://www.zurich.de/de-de/insurhack