Trainee Software Engineer Interview Questions

6,024 trainee software engineer interview questions shared by candidates

If your father gives you 1 rupee on first days and tells you to "Go and Give to the temple" but you didn't. Now on next day they double the money plus 1(means 2*previous_day+1) rupee again give to you and tell "Go and Give to the temple" but that time you did. On an alternate day, you did and again you didn't. means 1, 3, 7, 15...... Now your task is to create a function which takes an argument in terms of no. of days, and its return how much amount you have been stolen.
avatar

Trainee Software Engineer

Interviewed at Metacube Software Pvt. Ltd.

4
Apr 4, 2018

If your father gives you 1 rupee on first days and tells you to "Go and Give to the temple" but you didn't. Now on next day they double the money plus 1(means 2*previous_day+1) rupee again give to you and tell "Go and Give to the temple" but that time you did. On an alternate day, you did and again you didn't. means 1, 3, 7, 15...... Now your task is to create a function which takes an argument in terms of no. of days, and its return how much amount you have been stolen.

Viewing 4381 - 4390 interview questions

Glassdoor has 6,024 interview questions and reports from Trainee software engineer interviews. Prepare for your interview. Get hired. Love your job.