Arnab Chakraborty has Published 4293 Articles

Maximum GCD of N integers with given product in C++

Arnab Chakraborty

Arnab Chakraborty

Updated on 21-Oct-2019 07:03:26

193 Views

Suppose we two integers N and P. The P is the product of N unknown integers. We have to find the maximum possible GCD of those integers. Suppose N = 3, and P = 24, then different groups will be like {1, 1, 24}, {1, 2, 12}, {1, 3, 8}, ... Read More

Maximum GCD from Given Product of Unknowns in C++

Arnab Chakraborty

Arnab Chakraborty

Updated on 21-Oct-2019 06:59:29

153 Views

Suppose we two integers N and P. The P is the product of N unknown integers. We have to find the GCD of those integers. There can be different groups of integers possible, that will give the same result. Here we will produce GCD, which is maximum among all possible ... Read More

Maximum Consecutive Zeroes in Concatenated Binary String in C++

Arnab Chakraborty

Arnab Chakraborty

Updated on 17-Oct-2019 13:40:16

453 Views

Suppose we have a binary string of length n, another value say k is given. We have to concatenate the binary string k times. Then we have to find the maximum number of consecutive 0s in the concatenated string. Suppose binary string is “0010010”, and k = 2, then after ... Read More

Split the array into equal sum parts according to given conditions in C++

Arnab Chakraborty

Arnab Chakraborty

Updated on 17-Oct-2019 13:36:42

827 Views

Here we will see one problem. Suppose one array arr is given. We have to check whether the array can be split into two parts, such that −Sub of both sub-arrays will be the sameAll elements, which are multiple of 5, will be in the same groupAll elements which are ... Read More

Operating System Resource Management

Arnab Chakraborty

Arnab Chakraborty

Updated on 17-Oct-2019 11:31:02

7K+ Views

An operating system (OS) is basically a collection of software that manages computer hardware resources and provides common services for computer programs. The operating system is a crucial component of the system software in a computer system.These are some few common services provided by an operating system −Program executionI/O operationsFile ... Read More

Operating System Error handling

Arnab Chakraborty

Arnab Chakraborty

Updated on 17-Oct-2019 11:29:00

3K+ Views

An operating system (OS) is basically a collection of software that manages computer hardware resources and provides common services for computer programs. Operating system is a crucial component of the system software in a computer system.These are some few common services provided by an operating system −Program executionI/O operationsFile System ... Read More

Process Communication in Operating System

Arnab Chakraborty

Arnab Chakraborty

Updated on 17-Oct-2019 11:27:36

6K+ Views

Processes that executing concurrently in the operating system may be either independent processes or cooperating processes. if a process cannot affect or be affected by the other processes executing in the system then the process is said to be independent. So any process that does not share any data with ... Read More

File system manipulation

Arnab Chakraborty

Arnab Chakraborty

Updated on 17-Oct-2019 11:22:43

4K+ Views

An operating system (OS) is basically a collection of software that manages computer hardware resources and provides common services for computer programs. Operating system is a crucial component of the system software in a computer system.These are some few common services provided by an operating system −Program executionI/O operationsFile System ... Read More

Operating System Input Output I/O

Arnab Chakraborty

Arnab Chakraborty

Updated on 17-Oct-2019 11:21:41

9K+ Views

The three main jobs of a computer are Input, Output, and Processing. In most of the cases, the most important job is Input / Output, and the processing is simply incidental. For an example, when we browse a web page or edit any file, our immediate attention is to read ... Read More

Program execution in CPU

Arnab Chakraborty

Arnab Chakraborty

Updated on 17-Oct-2019 11:19:43

2K+ Views

One may be amazed how the CPU is programmed. A special register is contained in CPU-the instruction register-whose bit pattern determines what the CPU will do. Once that action has been completed, the bit pattern in the instruction register can be changed, and the CPU will perform the operation specified ... Read More

Advertisements