🎁 Exclusive Offer! Join our Telegram Channel to get **special discounts** and updates! 🚀
Count comparisons
You are given a 2-D matrix M of dimensions N x D. You have to decide ranking based on the given matrix, rankings are defined as follows:
- Index i is said to be ahead of index j in rankings if the first index at which element value differs in row M[i] and M[j] has a greater value in row M[i].
- If for index i and index j, all the elements in row M[i] and M[j] are the same,
Asked in: GOOGLE
People Bought: 1
Price (in Rs): 171.00
Circular path -
You are given the following:
- Two integers N and K
- Two arrays of integers A and B of size N.
Consider N circular paths. The i-th circular path has the center at the coordinate (A[i], B[i]) and radius K.
There are Q queries. Each query consists of two integers L and R. For each query, Alice starts from the L-th circular path and she needs to know whether she can reac
Asked in: GOOGLE
People Bought: 1
Price (in Rs): 171.00
Remaining elements
You are given two arrays A and B of size N. Your task is to remove some numbers from array A such that the following conditions are met:
1. The remaining elements of array A are strictly increasing from left to right.
2. The corresponding elements from B must also be extracted. For example, if you have removed the ith element of array A, then the ith element of array B mu
Asked in: GOOGLE
People Bought: 0
Price (in Rs): 151.00
Key Generation Vulnerabilities: Finding the Least Vulnerability Factor with Modifications
2. Code Question 2
The developers at Amazon IAM are working on identifying vulnerabilities in their key generation process. The key is represented by an array of integers, where the h integer is denoted by key[i]. The vulnerability factor of the array (key) is defined as the maximum length of a subarray t
Asked in: AMAZON
People Bought: 0
Price (in Rs): 151.00
You own a recruiting agency and you are trying to analyze data from the recruiting process.
After doing a data pull, you have a database containing 2 tables - interviews and positions.
The interviews table contains the following columns:
- id: a unique ID for each interview session
- position_id: ID for the position that the interview was for
- candidate_id: ID for the candidate that was
Asked in: INFOTECH
People Bought: 0
Price (in Rs): 81.00
You are helping your professor at the university to generate a report containing three columns: name, grade, and mark. You are given a table of grades and students. Your professor has instructed you to create the report according to the following specifications:
- He doesn't want the names of those students who received a grade lower than 'C'.
- Higher grades in the report should be entered fi
Asked in: INFOTECH
People Bought: 1
Price (in Rs): 51.00
Question: The kingdom has been given terrible news: the King has passed away. While the nation is mourning, the noblemen need to decide who will take the throne next.
The late King had many children, and now it is necessary to determine their order of succession according to their seniority.
The list of the King's children is represented as a table "Successors" with the following attributes:
Asked in: INFOTECH
People Bought: 0
Price (in Rs): 0.00
Your boss wants to identify the successful projects running in your company, so he asked you to prepare a list of all the currently active projects and their average monthly income.
You have stored the information about these projects in a simple database with a single Projects table that has five columns:
- internal_id: the company's internal identifier for the project
- project_name: the
Asked in: INFOTECH
People Bought: 1
Price (in Rs): 0.00
The longest diagonals of a square matrix are defined as follows:
- The first longest diagonal goes from the top-left corner to the bottom-right corner.
- The second longest diagonal goes from the top-right corner to the bottom-left corner.
Given a square matrix, your task is to swap its longest diagonals by exchanging their elements at the corresponding positions.
Example:
matrix = [[1,
Asked in: INFOTECH
People Bought: 0
Price (in Rs): 0.00
3. Cluster Queries
In a Salesforce global infrastructure, there are customer support clusters numbered from 1 to clusters, distributed across multiple regions. These clusters are interconnected by n communication links, represented by the array connections, such that if two clusters are connected directly or indirectly, they belong to the same support network.
Each cluster has a case resolut
Asked in: SALESFORCE
People Bought: 0
Price (in Rs): 151.00