Home Authors Posts by Team MCK

Team MCK

Count the triplets in C

0
Count the triplets in C Problem statement: Given an Array of distinct integers, count all the triplets such that the sum of two elements equals...

Print Inversions in an array in C

0
Print Inversions in an array in C Problem statement: Print Inversions in an array. In an array two elements a and a form an inversion...

First C Program

0
First C Program
We will write our first C program. Here, #include is a preprocessor directive. <stdio.h> is the C standard Input Output library. It is used to getting...

Reverse a string using stack

0
Problem Statement: Reverse a string using stack in C. Here we have used an array to implement the stack. /*Reverse a string using stack. Implement your...

Rearrange an array such that arr[i] = i in C

0
Problem statement Consider an array having N elements. Rearrange the array such that A = i and if i is not present, replace it with...

Cyclically rotate an array by k elements in C

0
Problem statement: Cyclically rotate an array by k elements  in C Example: input = {1, 2, 3, 4, 5, 6}; Key = 2 output = { 3, 4,...

Cyclically rotate an array by one in C

0
Problem statement: Cyclically rotate an array by one in C Example: input = {1, 2, 3, 4, 5, 6}; output = {6, 1, 2, 3, 4, 5}; ...

Get started with Go

0
Get started with Go
Prerequisite: Install go on your machine Some basic programming knowledge Code editor of your choice Terminal or Command prompt 1. Create a directory at your Home directory $ cd $...

Find the middle of a given linked list in C

0
Find the middle of a given linked list in C Problem Statement: Given a Singly Linked list find the middle. In the following approach, two pointers...

Application of DBMS

0
Different DBMS software is used in different sectors. Some of the DBMS software are MYSQL, Oracle, PostgreSQL, SQLite, Microsoft SQL Server. Following are some...

Latest Post

Number Series Set I

Number Series Set II

Simple Interest set 1