Skip to main content
added 5 characters in body
Source Link
isaacg
  • 42.1k
  • 5
  • 73
  • 213

The first entry that's neither a zero or a two, other than the first entry, is the 15th position, 14 zero indexed. So if the input was 4, you would output 14.

The first entry that's neither a zero or a two, other the first entry, is the 15th position, 14 zero indexed. So if the input was 4, you would output 14.

The first entry that's neither a zero or a two, other than the first entry, is the 15th position, 14 zero indexed. So if the input was 4, you would output 14.

added 56 characters in body
Source Link
isaacg
  • 42.1k
  • 5
  • 73
  • 213

The first nonzero entry that's neither a zero or a two, other the first entry, is the 15th position, 14 zero indexed. So if the input was 4, you would output 14.

This is assuming you have 1 indexed inputs and 0 indexed outputs. You may index your inputs and outputs starting at any constant integers, as long as you can accept the range of inputs corresponding to all sequences.

The first nonzero entry is the 15th position, 14 zero indexed. So if the input was 4, you would output 14.

This is assuming you have 1 indexed inputs and 0 indexed outputs. You may index your inputs and outputs starting at any integers, as long as you can accept the range of inputs corresponding to all sequences.

The first entry that's neither a zero or a two, other the first entry, is the 15th position, 14 zero indexed. So if the input was 4, you would output 14.

This is assuming you have 1 indexed inputs and 0 indexed outputs. You may index your inputs and outputs starting at any constant integers, as long as you can accept the range of inputs corresponding to all sequences.

added 82 characters in body
Source Link
isaacg
  • 42.1k
  • 5
  • 73
  • 213

This is assuming you have 1 indexed inputs and 0 indexed outputs. You may 0 or 1 index your inputs orand outputs starting at any integers, as long as you see fitcan accept the range of inputs corresponding to all sequences.

This is assuming you have 1 indexed inputs and 0 indexed outputs. You may 0 or 1 index your inputs or outputs as you see fit.

This is assuming you have 1 indexed inputs and 0 indexed outputs. You may index your inputs and outputs starting at any integers, as long as you can accept the range of inputs corresponding to all sequences.

Source Link
isaacg
  • 42.1k
  • 5
  • 73
  • 213
Loading