GeekInterview.com
Series: Subject: Topic:

Algorithm Questions

Showing Questions 1 - 4 of 4 Questions
Sort by: 
 | 

Python - how to write a function

Asked By: Jeffsdf | Asked On: Apr 6th, 2013

How to write a function kinda_format ( ) that take three arguments (each of which positive int ) - a,b,c- and tests whether the equality a^n +b^n=c^n holds for each n{2,3,...,10}. The function should return false if the equality does not hold for any value of n in the given range, and if there is a value...

Algorithm to print count and possible string outcomes of a given input string

Asked By: taru22 | Asked On: Apr 27th, 2012

Write an efficient algorithm to print count and possible string outcomes of a given input string by retaining order and considering all characters during this process problem: given a input string as "0000" and following input scheme for the zeroes, print the possible outcomes by retaining order of...

Book index rare order

Asked By: pn8572 | Asked On: Mar 30th, 2012

A book collector has a special requirement. He has a book which contains a letter with english alphabets. But the sequence of letters is not the standard english. I.E. The alphabet sequence are not a,b,c.....Z. he has to find the letter sequence from the index for the book. What could be the right algorithm...

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.