Join Regular Classroom : Visit ClassroomTech

Company Coding Questions Solved | Codewindow.in

Coding Questions | The Closest Pair | Codewindow.in

Given an integer array with ‘N’ (2<=N<=1000) points. Find the distance between the closest pair of points. Input Format:Input 1: N, the number of points in an arrayInput 2: Array of numbers Output Format:Return the distance between the closest pair of points. Example 1:Input 1: 3Input 2: {-10,0,11} Output:10 Explanation:In the above example, the distance

Coding Questions | The Closest Pair | Codewindow.in Read More »

Capgemini Coding Questions Solved | On-Campus Placement | codewindow.in

Question 1: A company wishes to encode its data. The data is in the form of a string and is case-sensitive. They wish to encode the data with respect to a specific character. They wish to count the number of times the character reoccurs in the given data so that they can encode the data

Capgemini Coding Questions Solved | On-Campus Placement | codewindow.in Read More »