1

Forgot to check the edge-case that the matrix is new int[0][0] . Because m = 0 returns m % k = 0 always, This was doomed lol.

Matrix checks:

  • matrix itself is null
  • matrix is empty
  • matrix rows are null
  • matrix entries in the rows are null

2

Check the edge-cases you moron.

  • Empty string: ""
  • string fully in the graph, thus returns "" instead of null

3

I can’t read!

The cleric only summons alive participants. The general does not damage itself. The general’s list of humans in order is reversed.

Checks List:

  • Forgot to check if thee list is non-empty before getting an element.