Coders Packet

Packets submitted by Ravi Kumar Mehta

DNF Sort Using C++

Given an array of 0s, 1s and 2s. The idea is to write a function that sorts the given array by putting all 0s first then 1s and after that 2s. This code is written in c++.

Print all possible words from phone keypad using c++

We have to print all possible words that can be formed by pressing those digits of the mobile keyboard using c++.

SPIRAL PRINT OF 2-D ARRAY USING C++

The Spiral Matrix problem takes a 2-Dimensional array of order M x N as an input, and prints the elements of this matrix in spiral order. This code is written in C++.

Rotate Image (N*N Array) Using C++

We can consider the image as a 2-D array of size (N*N). Rotate the array by 90 degrees anti-clockwise. This code is written in C++ including library.