Filter interviews by
Clear (1)
I applied via Walk-in and was interviewed before Jan 2024. There were 4 interview rounds.
Gl bbbbbzbbsnsnsnsnsnndnd
Here's a simpler version of the Selection Sort code:
#include
int main() {
int n, i, j, minIndex, temp;
// Input array size
printf("Enter the size of the array: ");
scanf("%d", &n);
int arr[n];
// Input array elements
printf("Enter %d elements: ", n);
for (i = 0; i < n; i++) {
scanf("%d", &arr[i]);
}
// Selection Sort
for (i = 0; i < n - 1; i++) {
minIndex = i;
for (j = i + 1; j < n; j++) {
if (arr[j] < arr[minIndex]) {
minIndex = j;
}
}
// Swap
temp = arr[minIndex];
arr[minIndex] = arr[i];
arr[i] = temp;
}
// Output sorted array
printf("Sorted array: ");
for (i = 0; i < n; i++) {
printf("%d ", arr[i]);
}
return 0;
}
Key Features of the Code:
Fewer comments for simplicity.
Uses basic variable names.
Easy to follow logic.
I applied via Company Website and was interviewed in Dec 2022. There were 2 interview rounds.
Cadbury is a British multinational confectionery company known for its chocolate products.
Founded in 1824 by John Cadbury in Birmingham, England
Introduced the first Dairy Milk chocolate bar in 1905
Acquired by Mondelez International in 2010
Known for iconic products like Dairy Milk, Creme Egg, and Roses
The number of distributors in India varies and is not fixed.
The number of distributors in India depends on the industry and the specific product or service being distributed.
Different companies have different distribution networks and may have varying numbers of distributors.
The number of distributors can also change over time as companies expand or contract their operations.
It is difficult to provide an exact number o...
Top trending discussions
I applied via Naukri.com and was interviewed before Apr 2021. There was 1 interview round.
posted on 17 Feb 2021
I applied via Naukri.com and was interviewed before Apr 2021. There were 2 interview rounds.
I applied via Recruitment Consultant and was interviewed before Dec 2019. There were 4 interview rounds.
To calculate landing price to retailer and distributor on mark up basis, determine the cost price and apply the desired mark up percentage.
Determine the cost price of the product
Decide on the desired mark up percentage for the retailer and distributor
Calculate the mark up amount by multiplying the cost price with the mark up percentage
Add the mark up amount to the cost price to get the selling price
The selling price is...
The lctr for other brands at 15% markup margin would depend on their cost of production and desired profit margin.
Calculate the cost of production for each brand
Add 15% markup margin to the cost of production
Subtract the cost of production from the selling price to get the lctr
Example: If the cost of production for Brand A is $50, the selling price would be $57.50 (15% markup). If the selling price is $70, the lctr wou
I applied via Recruitment Consultant and was interviewed before May 2020. There were 4 interview rounds.
based on 2 interviews
Interview experience
based on 5 reviews
Rating in categories
Sales Executive
82
salaries
| ₹0 L/yr - ₹0 L/yr |
Territory Sales Incharge
43
salaries
| ₹0 L/yr - ₹0 L/yr |
Territory Sales Incharge (Tsi)
14
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Sales Executive
11
salaries
| ₹0 L/yr - ₹0 L/yr |
Sales Representative
10
salaries
| ₹0 L/yr - ₹0 L/yr |
Nestle
Mondelez International
The Hershey Company
Mars Incorporated Chocolate