October 27, 2024
Chicago 12, Melborne City, USA
C#

A tough loop in a contest


Question: Input N = 4
          Output:
                 1
                 0 1
                 1 0 1
                 0 1 0 1

I tried many things but every time I failed.

Apart from this stupid wrong solution I tried many fancy stuff and failed in the end.
What part of my C knowledge is weak?

If you were given this question how would you solve it?



You need to sign in to view this answers

Leave feedback about this

  • Quality
  • Price
  • Service

PROS

+
Add Field

CONS

+
Add Field
Choose Image
Choose Video