This category is for logical grouping only. It needn’t to be added directly. Instead, the sub-categories should be added.

## Find product of sums of data of leaves at same levels | Set 2

Given a Binary Tree, return following value for it. For every level, compute sum of all leaves if there are leaves at this level. Otherwise… Read More »

Prerequisite: XOR Linked List – A Memory Efficient Doubly Linked List | Set 1 XOR Linked List – A Memory Efficient Doubly Linked List |… Read More »

## Check for balanced parentheses in Python

Given an expression string, write a python program to find whether a given string has balanced parentheses or not. Examples: Input : {[]{()}} Output :… Read More »

## Iterative Boundary traversal of Complete Binary tree

Given a complete binary tree, traverse it such that all the boundary nodes are visited in Anti-Clockwise order starting from the root. Example: Input: 18… Read More »

## Remove first X rows and columns from a matrix

Given an integer X and a square matrix mat[][], the task is to remove the first X rows and columns from the given matrix and… Read More »

## Arcesium Interview Experience ( FTE On-Campus)

The whole process was online. All the interviews were help via HackerRank CodePair Platform in our TPC office since they did not visit the campus.… Read More »

## Check if all enemies are killed with bombs placed in a matrix

Given a Character matrix as input, the task is to check whether all the enemies are killed or not based on below conditions: 1. The… Read More »

## Generate lexicographically smallest string of 0, 1 and 2 with adjacent swaps allowed

Given a string str containing only characters 0, 1 and 2, you can swap any two adjacent (consecutive) characters 0 and 1 or any two… Read More »

## Count the numbers that can be reduced to zero or less in a game

Given two integers X and Y and an array of N integers. Player A can decrease any element of the array by X and Player… Read More »

## Find safe cells in a matrix

Given a matrix mat[][] containing the characters Z, P and * where Z is a zombie, P is a plant and * is a bare… Read More »

## Count strings that end with the given pattern

Given a pattern pat and a string array sArr[], the task is to count the number of strings from the array that ends with the… Read More »

## Find the resulting Colour Combination

Given a String of three Colours(G, B, Y) as input, the task is to print the resultant combined colour formed according to the rule given… Read More »

## Coviam Software Developer Internship Experience

Applied through employee referral Round 1: I was sent a link 40 multiple choice questions were there 20 aptitude questions and rest 20 questions from java fundamentals,… Read More »

## Check if absolute difference of consecutive nodes is 1 in Linked List

Given a Singly Linked List. The task is to check if the absolute difference between the consecutive nodes in the linked list is 1 or… Read More »

## Finding the path from one vertex to rest using BFS

Given an adjacency list representation of a directed graph, the task is to find the path from source to every other node in the graph… Read More »