JobsJob TrackerJob alerts

Infinera ยท 25 questions

All 25Coding 12Behavioral 4
  • Angle between clock hands
  • Bitwise shift outputCoding
  • Dead child process ID in socketsCoding
  • Nested loop output counterCoding
  • Fork and pointer modificationCoding
  • Multicast Address Class
  • ARP function
  • Secure Neighbor Discovery
  • External packet routing and ARP
  • DHCP workflow
  • Raw sockets
  • IPv6 scopes
  • TCP client server architecture
  • Endianness detection programCoding
  • Structure size without sizeofCoding
  • Custom memcpy implementationCoding
  • Why did you decide to apply for this role?Behavioral
  • What are your salary expectations?Behavioral
  • Tell me about your experienceBehavioral
  • HobbiesBehavioral
  • A Boolean Matrix QuestionCoding
  • Longest repeating and non-overlapping substringCoding
  • Extract Leaves of a Binary Tree in a Doubly Linked ListCoding
  • The Stock Span ProblemCoding
  • Merge Overlapping IntervalsCoding
โ† Infinera questions
  1. Interview questions
  2. Infinera
  3. Nested loop output counter
Coding

Nested loop output counter

Filed under Infinera

The question

Evaluate the output of a nested loop with three variables running from 1 to 30, incrementing a counter when the sum of indices is divisible by 3.

No write-up yet. Related questions below have one.

Related Infinera questions

  • Bitwise shift output
  • Dead child process ID in sockets
  • Fork and pointer modification
  • Endianness detection program
  • Structure size without sizeof
โ† Dead child process ID in socketsFork and pointer modification โ†’

Collected from public candidate posts and coding forums. Updated Nov 2026.