Junior Quantitative Analyst Data Analyst Interview Questions

10,163 junior quantitative analyst data analyst interview questions shared by candidates

You are given a function f(n) that does the following: if n is odd, it returns 3n+1, otherwise n/2. What is the smallest value of n such that this function does not eventually give a value of 1 with repeated recursive calls of each output?
avatar

Quantitative Trading Analyst Intern

Interviewed at Belvedere Trading

4.2
Aug 22, 2024

You are given a function f(n) that does the following: if n is odd, it returns 3n+1, otherwise n/2. What is the smallest value of n such that this function does not eventually give a value of 1 with repeated recursive calls of each output?

Viewing 931 - 940 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 10,163 interview questions and reports from Junior quantitative analyst data analyst interviews. Prepare for your interview. Get hired. Love your job.