Tip 1 : Do Practice as much as you can
Tip 2 : Revise codes on regularly
Tip 1 : It should look nice and presentable
Tip 2 : Skills should be mentioned properly
Semaphore is simply a variable that is non-negative and shared between threads. A semaphore is a signaling mechanism, and a thread that is waiting on a semaphore can be signaled by another thread. It uses two atomic operations, 1)wait, and 2) signal for the process synchronization.
Virtual memory is a feature of an operating system that enables a computer to be able to compensate shortages of physical memory by transferring pages of data from random access memory to disk storage. This process is done temporarily and is designed to work as a combination of RAM and space on the hard disk.



As this value might be large, print it modulo 10^9 + 7

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is recursion?