Sockets in Operating System
in the previous lectures we have studied about message-passing systems and shared memory systems which were two strategies that were used for communication between processes so the message passing system …
in the previous lectures we have studied about message-passing systems and shared memory systems which were two strategies that were used for communication between processes so the message passing system …
in this lecture we’ll be studying about process control block so first of all let us see what is this process control block let us try to understand what are …
The fundamental idea behind a virtual machine is to abstract the hardware of a single computer like the CPU memory disk drives network interface cards and so forth into several …
Reduce a string of lowercase characters in range ascii[‘a’..’z’]by doing a series of operations. In each operation, select a pair of adjacent letters that match, and delete them. Delete as many …
Read moreSuper Reduced String HackerRank Solution in C, C++, Java, Python
Consider an array of numeric strings where each string is a positive number with anywhere from to digits. Sort the array’s elements in non-decreasing, or ascending order of their integer values and return …
Read moreBig Sorting HackerRank Solution in C, C++, Java, Python
You are given a 2D matrix of dimension and a positive integer . You have to rotate the matrix times and print the resultant matrix. Rotation should be in anti-clockwise …
Read moreMatrix Layer Rotation HackerRank Solution in C, C++, Java, Python
Given an array of integers, determine whether the array can be sorted in ascending order using only one of the following operations one time. Swap two elements. Reverse one sub-segment. …
Read moreAlmost Sorted HackerRank Solution in C, C++, Java, Python
Larry has been given a permutation of a sequence of natural numbers incrementing from as an array. He must determine whether the array can be sorted using the following operation …
Read moreLarry’s Array HackerRank Solution in C, C++, Java, Python
Ema built a quantum computer! Help her test its capabilities by solving the problem below. Given a grid of size , each cell in the grid is either or . …
Read moreEma’s Supercomputer HackerRank Solution in C, C++, Java, Python
Bomberman lives in a rectangular grid. Each cell in the grid either contains a bomb or nothing at all. Each bomb can be planted in any cell of the grid …
Read moreThe Bomberman Game HackerRank Solution in C, C++, Java, Python