JobsJob TrackerJob alerts

Cray ยท 9 questions

All 9Coding 7
  • Remove loop in Linked ListCoding
  • Detect cycle in a directed graphCoding
  • Mirror TreeCoding
  • Minimum number of jumps to reach endCoding
  • Quick SortCoding
  • Detect cycle in the middle of a linked listCoding
  • Set k bits for a given position p in binary bitsCoding
  • Static vs Dynamic library and R vs Python efficiency
  • OS compilation, execution, linkers, loaders, and DMA
โ† Cray questions
  1. Interview questions
  2. Cray
  3. Set k bits for a given position p in binary bits
Coding

Set k bits for a given position p in binary bits

Filed under Cray

The question

Given a binary representation, set k bits starting from a given position p.

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

Related Cray questions

  • Detect cycle in the middle of a linked list
โ† Detect cycle in the middle of a linked listStatic vs Dynamic library and R vs Python efficiency โ†’

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