Problem 44784. Project Euler: Problem 14 Longest Collatz sequence(harder version)
Solution Stats
Problem Comments
-
4 Comments
Show
1 older comment
li haitao
on 10 Nov 2018
@ Binbin Qi
Why not setting the upper time limit?
What is the running time of your solution on cody computer?
li haitao
on 10 Nov 2018
@Binbin Qi
Please print the variable "t" to help to profile.
Binbin Qi
on 11 Nov 2018
@li haitao, I have fix the code, and you should see my running time.
li haitao
on 12 Nov 2018
@Binbin Qi,
Almost same with you. I tried many times, but could not speed up any
more.
Want to see some faster solutions in the future.
Solution Comments
Show commentsProblem Recent Solvers3
Suggested Problems
-
Given two arrays, find the maximum overlap
1270 Solvers
-
9174 Solvers
-
Back to basics 2 - Function Path
179 Solvers
-
Compute a dot product of two vectors x and y
941 Solvers
-
Join Strings with Multiple Different Delimiters
148 Solvers
More from this Author17
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!