TaxiForRent.com, one of India's leading providers of car rental services, is the most popular companies that provide car on hire in Goa, operating a large fleet of quality vehicles across a network of over 60 cities.
Published News » Interview Questions
Car on Hire in Goa
Posted by basilmolina49 263 days ago (http://www.taxiforrent.com)Shift all the 0s to the beginning and non 0s to the rear
Posted by arun (#3) 445 days ago (Editorial)
Given an Array With random 0s and non 0 numbers, shift all the 0s to the beginning and non 0s to the rear.
Eg: 1,9,8,4,0,0,2,7,0,6,0
Out put 0,0,0,0,1,9,8,4,2,7,6
i.e order of numbers not to change. Do it in place
Eg: 1,9,8,4,0,0,2,7,0,6,0
Out put 0,0,0,0,1,9,8,4,2,7,6
i.e order of numbers not to change. Do it in place
The game of russian roulette interview question
Posted by pwook (#85) 469 days ago (http://commoninterview.com)
"Let's play a game of Russian roulette*", begins one interview stunt that is going the rounds at Wall Street investment banks.
Logical interview puzzle
Posted by pwook (#85) 469 days ago (http://commoninterview.com)
Finding Celebrity logical interview puzzle. You are on a party with N guests....
Interview Questions to Hire a Java EE Developer
Posted by rahul (#9) 472 days ago (http://www.javacodegeeks.com)
I'm listing bellow some examples of interview questions that check the knowledge of the candidate based on his/her experience
List of JavaScript Interview Questions and Answers
Posted by citizen1 (#7) 499 days ago (http://java-success.blogspot.com)
Like me, many have a love/hate relationship with JavaScript. Now a days, JavaScript is very popular with the rich internet applications (RIA). So, it really pays to know JavaScript. JavaScript
Google Interview Question: Multiply Long Numbers Represented as Arrays
Posted by csguy (#13) 531 days ago (Editorial)
Two very large numbers are represented using arrays. Multiply these two numbers. E.g. Two numbers 12 and 13 are represented as a=[1,2] adn b=[1,3]. The expected result is 12*13=156 i.e. c=[1,5,6]
Number of ways of chosing k numbers without replacement from n with no consecutive elements selected
Posted by csguy (#13) 531 days ago (Editorial)
let f(n, k) be the # of ways of choosing k integers without replacement from
n consecutive integers so that no two selected are consecutive.
n consecutive integers so that no two selected are consecutive.
Given a set of numbers [1-N] . Find the number of subsets such that the sum of numbers in the subset is a prime number.
Posted by csguy (#13) 533 days ago (Editorial)
Given a set of numbers [1-N] . Find the number of subsets such that the sum of numbers in the subset is a prime number. This looks like a Dynamic Programming Problem
Given a very long list of URLs, find the first URL which is unique
Posted by csguy (#13) 533 days ago (Editorial)
Given a very long list of URLs, find the first URL which is unique
Google Interview Question: Find lements repeating more than n/3 times
Posted by csguy (#13) 536 days ago (Editorial)
Design an algorithm that, given a list of n elements in an array, finds all the elements that appear more than n/3 times in the list.
The algorithm should run in linear time. (n >=0 )
You are expected to use comparisons and achieve linear time. No hashing/excessive space/ and don't use standard linear time deterministic selection algo
The algorithm should run in linear time. (n >=0 )
You are expected to use comparisons and achieve linear time. No hashing/excessive space/ and don't use standard linear time deterministic selection algo
Given a list of n elements in an array, finds all the elements that appear more than n/3 times in the list
Posted by csguy (#13) 539 days ago (Editorial)
Design an algorithm that, given a list of n elements in an array, finds all the elements that appear more than n/3 times in the list.
The algorithm should run in linear time.
You are expected to use comparisons and achieve linear time.
The algorithm should run in linear time.
You are expected to use comparisons and achieve linear time.
Interview Question: Sub Matrix With Maximum Sum
Posted by indian1 (#2) 546 days ago (Editorial)
Suppose you have an NxN matrix of positive and negative integers. Write some code that finds the sub-matrix with the maximum sum of its elements
Interview Question: Find the Missing Number
Posted by csguy (#13) 547 days ago (Editorial)
An array A[1 . . n] contains all the integers from 0 to n except one. It would be easy to determine the missing integer in O(n) time by using an auxiliary array B[0 . . n] to record which numbers appear in A. In this problem, however, we cannot access an entire integer in A with a single operation. The elements of A are represented in binary, and the only operation we can use to access them i
Interview Question: Random Sample Set Selection
Posted by indian1 (#2) 549 days ago (Editorial)
Write a method to randomly generate a set of m integers from an array of size n. Each element must have equal probability of being chosen
A former Google recruiter named Gayle Laakman McDowell says the company has finally "banned" most of these awful hiring practices.
Interview Question: next Permutation
Posted by csguy (#13) 552 days ago (Editorial)
Given a number,find the next higher number using the same digits in the number. Eg- 15432, Soln- 21345.
Write a C Program to Solve Sudoku : Source Code and Explanation
Posted by indian1 (#2) 552 days ago (http://reidhoruff.com)
The algorithm I developed was simple. Starting at tile x, a list x is generated containing all of the possible values tile x could assume without interfering with its relevant non-empty neighbors, where neighbors refers to tiles in the same row, column and sub-grid as tile x. If tile x has a predefined value that must be solved around, that is tile x's only valid value. Tile x then assumes a valu
Find the Majority Element
Posted by indian1 (#2) 554 days ago (Editorial)
Given an array A[]. Frequency of one of the element is greater than size of A. How will you find the majority element in O(n)
Next Palindrome Interview Question
Posted by admin (#43) 554 days ago (Editorial)
A positive integer is called a palindrome if its representation in the decimal system is the same when read from left to right and from right to left. For a given positive integer K write a program to find the value of the smallest palindrome larger than K to output. Numbers are always displayed without leading zeros.
Idea:
For Even Numbers
1234 - 1221 - Copy leftside to right and see
Idea:
For Even Numbers
1234 - 1221 - Copy leftside to right and see
Sort News
