# Category Codechef Solutions

## The Melancholy of Problem Setter CodeChef Solution

Problem : The Melancholy of Problem Setter Code Chef Solution Roughly speaking, this problem asks you to create the checker of the problem used in December CookOff. You are given a tree with NN vertices and a string CC of length NN, consisting of the characters ‘R’, ‘G’ and ‘B’.…

## Mean equals Median CodeChef Solution – Networking Funda

Problem : Mean equals Median CodeChef Solution Chef gets confused between mean and median very often, and as a result, he has developed a dislike of arrays whose mean and median are not equal. Chef has an array AA of NN elements. He can…

## ChefWM CodeChef Solution – Networking Funda

Problem: ChefWM CodeChef Solution Chef recently created a new Tiling Window Manager called ChefWM. He wants to find out the maximum number of columns of windows he can fit on the screen and he needs your help. Consider the screen…

## And Or Union CodeChef Solution – Networking Funda

Problem: And Or Union CodeChef Solution You are given an array AA consisting of NN integers. From array AA, we create a new array BB containing all pairwise bitwise ANDs of elements from AA. That is, BB consists of N⋅(N−1)/2N⋅(N−1)/2 elements, each of the form Ai&AjAi&Aj for some 1≤i<j≤N1≤i<j≤N. In array BB, we repeat the following…

## Count Number of Peaks CodeChef Solution – Code Drive Solution

About Count Number of Peaks CodeChef Solution This is a coding contest based on algorithms, data structures, and problem-solving. Organizer: The contest is hosted by NIT Trichy. Prizes: NA Registrations for prizes: NA Problem: Count Number of Peaks CodeChef Solution You are given…

## Again XOR problem CodeChef Solution – Code Drive Solution

About Again XOR problem CodeChef Solution This is a coding contest based on algorithms, data structures, and problem-solving. Organizer: The contest is hosted by NIT Trichy. Prizes: NA Registrations for prizes: NA Problem: Again XOR problem CodeChef Solution You may have solved a…

## Maximum Factors Problem CodeChef Solution – Code Drive Solution

About Maximum Factors Problem CodeChef Solution This is a coding contest based on algorithms, data structures, and problem-solving. Organizer: The contest is hosted by NIT Trichy. Prizes: NA Registrations for prizes: NA Problem: Maximum Factors Problem CodeChef Solution You are given an integer NN.…

## Count of Array CodeChef Solution – Code Drive Solution 2022

About Count of Array CodeChef Solution This is a coding contest based on algorithms, data structures, and problem-solving. Organizer: The contest is hosted by NIT Trichy. Prizes: NA Registrations for prizes: NA Problem: Count of Array CodeChef Solution You love array, don’t you?…

## Count Number of Sequences CodeChef Solution – Code Drive Solution

About Count Number of Sequences CodeChef Solution This is a coding contest based on algorithms, data structures, and problem-solving. Organizer: The contest is hosted by NIT Trichy. Prizes: NA Registrations for prizes: NA Problem: Count Number of Sequences CodeChef Solution Define f(x)f(x) to be the…

## Break And Fix The Tree CodeChef Solution – Code Drive solution

About Break And Fix The Tree CodeChef Solution This is a coding contest based on algorithms, data structures, and problem-solving. Organizer: The contest is hosted by NIT Trichy. Prizes: NA Registrations for prizes: NA Problem: Break And Fix The Tree CodeChef Solution Chef…

## Sum this up Code Chef Solution – Code Drive solution

About Sum this up Code Chef Solution This is a coding contest based on algorithms, data structures, and problem-solving. Organizer: The contest is hosted by NIT Trichy. Prizes: NA Registrations for prizes: NA Problem: Sum this up Code Chef Solution You are given…

## Game between friends CodeChef Solution – Code Drive solution

About Game between friends CodeChef Solution This is a coding contest based on algorithms, data structures, and problem-solving. Organizer: The contest is hosted by NIT Trichy. Prizes: NA Registrations for prizes: NA Problem: Game between friends CodeChef Solution Nitin and Sobhagya were playing…

error: Content is protected !!