One question of sorting for a list of people belonging to different cities and states.
Sort a list of people by their cities and states.
Use a sorting algorithm like quicksort or mergesort.
Create a custom comparator function that compares the city and state of each person.
If two people b...read more
Assemble to cities one-sided and State another side
· Let ABCDE for persons assume PQRST different city/ state
· If A is from city P
· B is from city Q
· C is from city R
· D is from city S
· E is from city T
Assume depending on the alphapetical order of the...read more
If u have data ready it's Very simple go to excel put formula n filter it out.
it in two parts. Let's also make the simplifying assumption (not stated in your question) that the Users table has only one entry per user per city.
Some people live in the other cities and states are following .
Cities / states
Meerut / Uttar pardesh
Sonipat / Haryana
Surat / Gujrat
Shrinagar / Jammu and kashmir
Haridwar / uttarakhand
If u have data ready it's Very simple go to excel put formula n filter it out...
Sort a list of people by their cities and states.
Use a sorting algorithm like quicksort or mergesort.
Create a custom comparator function that compares the city and state of each person.
If two people b...read more
If we have a data ready it's very simple go to excel put formula and filter it out.
Access sample base & cities and there pincode number
order sales data by calendar month so that you can produce a graph of sales performance.
Name of the city and pin code
If u have a data ready it's very simple go to excel put formu n filter it out.
Name of the city and pin code
This is really a two part question:
What cities have more than one user located in them?
What users live in that subset of cities?
Let's answer it in two parts. Let's also make the simplifying assumption...read more
SELECT id, name, city
FROM persons
JOIN (SELECT city
FROM persons
GROUP BY city HAVING count(*) > 1) AS cities
USING (city);
My Answer is
Sort a list of people by their cities and states.
Use a sorting algorithm like quicksort or mergesort.
Create a custom comparator function that compares the city and state of each person.
If ...read more
Sorting alphabetically (AtoZ or Z to A) by value ( largest to smallest or smallest to largest) by day of the week ( Monday, Tuesday, Wednesday, Thursday, Friday........) Or by month names ( Jan,Feb......read more
My Answer is
Sort a list of people by their cities and states.
Use a sorting algorithm like quicksort or mergesort.
Create a custom comparator function that compares the city and state of each person.
If...read more
India is home to a vast array of cities, each with its own unique culture and history. From the bustling metropolises of Mumbai and Delhi to the ancient cities of Varanasi and Jaipur
If u have data ready it's Very simple go to excel put formula n filter it out
People name, state pincode or city pincode or any proof
If u have data ready it's Very simple go to excel put formula n filter it out.
Area pincode and state pincode
Making a list for all people and than short by function list.short([name of people] )
Sort a list of people by their cities and states.
Use a sorting algorithm like quicksort or mergesort.
Create a custom comparator function that compares the city and state of each person.
If two people b...read more
Excel put formula and filter it out it we can list the people
it's simply fo to exel put formula n then after filter it out
Filter the State or cities in alphabet order so that we can sort the list of people beloning to the correct state of cities
its simple fo to excel put formula n filter it out
If u have data ready it's Very simple go to excel put formula n filter it out.
If u have data ready it's Very simple go to excel put formula n filter it out.
Filter the State or cities in alphabet order so that we can sort the list of people beloning to the correct state of cities
Input:
Person 1: Name - John, City - New York, State - New York
Person 2: Name - Mary, City - Los Angeles, State - California
Person 3: Name - Sarah, City - New York, State - New York
Person 4: Name - Mic...read more
#include int main() { int n, z = 0; scanf ("%d", &n); int arr[n]; for(int i = 0; i < n; i++) { scanf("%d", &arr[i]); } for(int i = 1; i < n; i++) { if(arr[0]==arr[i]) z++; } printf("%d", n-z-1); retur...read more
Top Capgemini Software Engineer interview questions & answers
Popular interview questions of Software Engineer
Top HR questions asked in Capgemini Software Engineer
Reviews
Interviews
Salaries
Users/Month