Join Regular Classroom : Visit ClassroomTech

Coding Questions

Nagarro Question Solved | King George’s Rescue | Codewindow.in

Hot Topics Nagarro Question Solved | King George’s Rescue | Codewindow.in Question 1 A palace has been invaded and its former ruler king George has been imprisoned in in his own Palace. George’s minister William must rescue him,But he must stay clear off the soldiers who have been planted in the palace.The entrance of the

Nagarro Question Solved | King George’s Rescue | Codewindow.in Read More »

Nagarro Question Solved | Kung Fu Panda Training | Codewindow.in

Hot Topics Nagarro Question Solved | Kung Fu Panda Training | Codewindow.in Question 1 Po is receiving training from master Shifu for his big fight with Tai Lung scheduled for the upcoming week. Apart from his physical training, Master Shifu also decides to train him mentally, by giving him puzzles to solve.    He gives

Nagarro Question Solved | Kung Fu Panda Training | Codewindow.in Read More »

All Nagarro Questions – Previous Years – Codewindow.in

Hot Topics Nagarro Solved Click to see the Questions Planning the street Cheat Ways Literary competition Jump to escape jail Card game Click here For Latest Job Openings Telegram Facebook Linkedin Instagram Nagarro Solved Learn More Automata Fixing Learn More        Click here For Latest Job Openings Telegram Facebook Linkedin Instagram Tags: Join

All Nagarro Questions – Previous Years – Codewindow.in Read More »

Symmetric Difference Code

Example 1: Input: (1,2),(2,1),(3,4),(4,5),(5,4) Output: (2,1)  (5,4) Explanation: Since (1,2) and (2,1) are symmetric pairs and (4,5) and (5,4) are symmetric pairs.   Example 2: Input: (1,5),(2,3),(4,2),(5,1),(2,4) Output: (2,4)  (5,1) Explanation: Since (1,5) and (2,4) are symmetric pairs and (5,1) and (4,2) are symmetric pairs.   Solution: x=input().replace(“)”,””) x=x.replace(“(“,””) x=list(map(int, x.split(“,”))) #print(x) y = []

Symmetric Difference Code Read More »

New Coding Program | Set-6 SOLVED | codewindow.in

Previous Question Program 1. Geological Sorting A team of geologists attempting to measure the difference in carbon-dated volcanic materials and non-volcanic materials of the same carbon-dated age in order to establish a base for testing.You are given 2 arrays, volcanic and nonVolcanic. Write a program to find a list of materials with identical dates between

New Coding Program | Set-6 SOLVED | codewindow.in Read More »

New Coding Program | Set-4 SOLVED | codewindow.in

Previous Question Program 1. Numbers PuzzleGiven a set of numbers, one can arrange them in any order but must pay a penalty equal to the sum of the absolute differences between adjacent numbers. Return the minimum penalty that must be paid.Input Specification:input1:Length of an integer array of numbers()2<=input1<=1000)input2:Integer array(1<=input2[i]<=10000) Ouput specification:Return the minimum penalty. Example

New Coding Program | Set-4 SOLVED | codewindow.in Read More »