sunny smart
BAN USER
Questions (10)
Comments (2)
Followers (1)
Reputation 340
- 0of 0 votes
AnswersHow do you remove duplicates from an array of integers
- sunny smart in India| Report Duplicate | Flag | PURGE
CapitalIQ Consultant Algorithm - 0of 0 votes
AnswersWrite down the fibonacci algorithm.
- sunny smart in India| Report Duplicate | Flag | PURGE
CapitalIQ Consultant Algorithm - 0of 0 votes
AnswersTwo arrays with integers. Find the values that are present in both of them. What is the time complexity?
- sunny smart in India
How to do you ensure that there are no duplicates in the final output? --> time complexity. Can you get this done with O(n2)?| Report Duplicate | Flag | PURGE
CapitalIQ Consultant Algorithm - 4of 4 votes
AnswersTwo tables. Country and City
- sunny smart in Netherlands
country --> countryid, country name
city --> countryid, city name
1. how do you get the countries that has no cities?
2. how do you get the countries that has less than 3 cities and also make sure the countries with no cities also show up.| Report Duplicate | Flag | PURGE
Booking.com None None Database SQL
Page:
1
Comment hidden because of low score. Click to expand.
Comment hidden because of low score. Click to expand.
4
of 4 vote
inner join has to be changed to left join .... thanks for the solution
- sunny smart June 16, 2013Page:
1
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.
first I have to remove the elements from the array itself
- sunny smart June 19, 2013second i can use one data structure