Given a number N. The task is to write a program to find the Nth term in the below series: 3, 6, 18, 24, 45,… Read More »

Given an infinite series and a value x, the task is to find its sum. Below is the infinite series 1^2*x^0 + 2^2*x^1 + 3^2*x^2… Read More »

The study of software fault-tolerance is relatively new as compared with the study of fault-tolerant hardware. In general, fault-tolerant approaches can be classified into fault-removal… Read More »

The Jelinski-Moranda (J-M) model is one of the earliest software reliability models. Many existing software reliability models are variants or extensions of this basic model.… Read More »

Given a number N. The task is to find the sum of the below series up to N-th term: 1 + 22 + 333 +… Read More »

Given a number N. The task is to find the sum of the below series up to nth term. 1- 2 + 3 – 4… Read More »

isset() function The isset() function is an inbuilt function in PHP which checks whether a variable is set and is not NULL. This function also… Read More »

Given two numbers a and n, the task is to find the single sum of digits of a^n (pow(a, n)). In single digit sum, we… Read More »

Given a series of k terms, where ‘X’ is any value between 0-9 and ‘k’ is any positive integer. The task is to find the… Read More »

The Goel-Okumoto model (also called as exponential NHPP model) is based on the following assumptions: All faults in a program are mutually independent of the… Read More »

There are two ways by which Input/output subsystems can improve the performance and efficiency of the computer by using a memory space in main memory… Read More »

Prerequisite – Hardwired v/s Micro-programmed Control Unit To execute an instruction, there are two types of control units Hardwired Control unit and Micro-programmed control unit.… Read More »

A Renewal process is a general case of Poisson Process in which the inter-arrival time of the process or the time between failures does not… Read More »

Prerequisite : Dynamic Programming | Set 8 (Matrix Chain Multiplication) Given a sequence of matrices, find the most efficient way to multiply these matrices together.… Read More »

Calendar module allows to output calendars like program, and provides additional useful functions related to the calendar. Functions and classes defined in Calendar module use… Read More »

Following are the details of my interview with Goldman Sachs. Round 1: Online Coding Round on Hackerrank (1 hours 30 mins) The online test was… Read More »

Suppose there is a queue of n users and your task is to assign a username to them. The system works in the following way.… Read More »

Given a string consisting only of two lowercase characters and and two numbers and . The task is to print the lexicographically smallest permutation of… Read More »

Prerequisite: Simple Linear-Regression using R Linear Regression: It is the basic and commonly used used type for predictive analysis.It is a statistical approach for modelling… Read More »

Given an undirected and unweighted graph. The task is to find the product of the lengths of all cycles formed in it. Example 1: The… Read More »