When you wish to say something but miss a few characters/words, the first response that anyone gives you is “Did you mean this?“. The same… Read More
Being one of the most high-level languages, Python is vastly being used in solving real-life problems today. It is majorly suitable for scientists to work… Read More
Tech Mahindra offers different packages on our campus. Tech Mahindra offers different package slabs for candidates such as: The candidate will be on probation for… Read More
Hi there, hope you are doing great. I joined Thoughtworks as an Application Developer consultant in June 2022. When I was preparing for my interviews… Read More
Given an array arr[] of length N, denoting the cost of N items and the cashback upon buying that item, the task is to find… Read More
Given an N×N Matrix Mat[][] of N rows and N columns. There is exactly one Queen on the chessboard and the cell that is under… Read More
Geek has N packs of chocolates and the amount of chocolates in each pack is given in an array arr[]. His sister wants to have… Read More
What is an Array? An array is a collection of similar data elements stored at contiguous memory locations. It is the simplest data structure where… Read More
Given two arrays A[] and B[] of size N and M respectively denoting the required elements of each group and the number of elements in… Read More
Given two force vectors, find out whether they are parallel, perpendicular or neither. Let the first vector be A = a1 i +a2 j +… Read More
Given a tree with N nodes, an array A[] of size N denoting the value of each node and array edges [][] of size (N-1),… Read More
Given two arrays A[] and B[] of size N each, the task is to find the number of elements in array B[] that occur before… Read More
Given a 2-D array A[][] of size N × 3, where each element of the array is of the form {x, y, z}, where x,… Read More
Societe Generale visited my college (COEP) for a “Software Engineer” profile. 180 people applied for the company. The criteria for application was 6 CGPA, 60%… Read More