Zoho Interview Question for Students


Country: India
Interview Type: Written Test




Comment hidden because of low score. Click to expand.
0
of 0 vote

I'm not sure I understand your question. As it's phrases, you are getting the index input for an array of "4,7,44,47,74,77" Which doesn't seem a likely interview question. Can you clarify?

- Anonymous July 03, 2016 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

I did not understand the question .... why not 47 ??

- Anonymous July 04, 2016 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

public int findKth(int k)
{
	if(k<=0)
	{
		return -1;
	}
	if(k==1)
	{
		return 4;
	}
	if(k==2)
	{
		return 7;
	}
	int[] arr=new int[k+1];
	arr[1]=4;
	arr[2]=7;
	for(int i=3;i<arr.length;i++)
	{
		arr[i]=i%2!=0?(arr[(i>>2)]*10)+4:(arr[(i>>2)-1]*10)+7;
	}
	return arr[arr.length-1];
}
//Time complexity: O(K). Space Complexity: O(K)

- divm01986 July 06, 2016 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

you_ser =[4,7,44,47,74,77]
lucky_num = input('Enter your lucky number : ')
if you_ser.idex(lucky_num):
print(you_ser[you_ser.idex(lucky_num)])
else:
print('Enter number in 4,7,44,47,74,77')

- vijin selvaraj svijinraj@gmail.com January 16, 2018 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

sdfasdf

- test November 24, 2018 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More