JobsJob TrackerJob alerts

Ciena ยท 25 questions

All 25Coding 20Low-Level Design 2Product Sense 1
  • Reverse a linked list and implement doubly linked listCoding
  • Determine valid IPv4 address programmaticallyCoding
  • Minimum steps to divide a rope and leg counting puzzle
  • Count heavenly bodies and sun-like stars
  • Check whether a given number is primeCoding
  • Advanced pointer scenarios, bit flipping, and palindrome checkCoding
  • Character frequency in strings, linked lists, and treesCoding
  • Real-world packet switching optimizationProduct Sense
  • Implement memset or memcpyCoding
  • Check if bit is setCoding
  • Reverse string in placeCoding
  • Implement Queue using two StacksCoding
  • Search an element in BSTCoding
  • Count set bitsCoding
  • Check EndiannessCoding
  • Max without operatorsCoding
  • Find loop in linked listCoding
  • Find intersection point of two linked listsCoding
  • Delete node given only pointerCoding
  • Toggle bit at positionCoding
  • Implement custom smart pointer, copy constructor, and assignment operatorLow-Level Design
  • Segregate odd elements first and reverse even elements in linked listCoding
  • Find service provider with matching prefix and minimum call rateCoding
  • Find a tour that visits all stationsCoding
  • Implement your own vector classLow-Level Design
โ† Ciena questions
  1. Interview questions
  2. Ciena
  3. Toggle bit at position
Coding

Toggle bit at position

Filed under Ciena

The question

Write a function to toggle a bit at a given position in an integer.

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

Related Ciena questions

  • Reverse a linked list and implement doubly linked list
  • Determine valid IPv4 address programmatically
  • Check whether a given number is prime
  • Advanced pointer scenarios, bit flipping, and palindrome check
  • Character frequency in strings, linked lists, and trees
โ† Delete node given only pointerImplement custom smart pointer, copy constructor, and assignment operator โ†’

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