JobsJob TrackerJob alerts

Oppo R&D · 9 questions

All 9Coding 9
  • Permutations of natural numbers with prime indices at primesCoding
  • Implement a stack using a queueCoding
  • Implement multiple inheritance in JavaCoding
  • Convert a tree into a doubly linked listCoding
  • Permutations preserving relative position of primesCoding
  • Count subarrays with sum less than or equal to KCoding
  • Sum of all possible Ar[i]/Ar[j]Coding
  • Shortest distance between any two nodes in directed graphCoding
  • Critical section variable value boundsCoding
← Oppo R&D questions
  1. Interview questions
  2. Oppo R&D
  3. Critical section variable value bounds
Coding

Critical section variable value bounds

Filed under Oppo R&D

The question

Given a critical section where two processes can enter at the same time executing read a; a = a + 10; write a; with an initial value of a = 200, determine the minimum and maximum possible final values of variable a.

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

Related Oppo R&D questions

  • Permutations of natural numbers with prime indices at primes
  • Implement multiple inheritance in Java
  • Convert a tree into a doubly linked list
  • Permutations preserving relative position of primes
  • Sum of all possible Ar[i]/Ar[j]
← Shortest distance between any two nodes in directed graph

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