Quantcast
Channel: CodeChef Discuss - latest questions
Viewing all articles
Browse latest Browse all 39796

Logic needed with explanation.

$
0
0

Hi I need to come up with a solution for the following problem. Tell me how to code in C?

Input:

1 2 3 4

Output:

1 2 3 4 
4 1 2 1
3 4 3 2
2 1 4 3

Viewing all articles
Browse latest Browse all 39796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>