cook the code: array problems
Showing posts with label array problems. Show all posts
Showing posts with label array problems. Show all posts

Sunday, 28 January 2018

Check if the game is valid or not

Check if the game is valid or not Three players P1, P2 and P3 are playing a game. But at a time only two players can play the game, so ...
Read More

Merge k sorted arrays

Merge k sorted arrays Given k sorted arrays of size n each, merge them and print the sorted output. Example: Input: k = 3, n = 4 a...
Read More