DEV Community

Discussion on: Day 2: Fixed point

Collapse
 
apomalyn profile image
Xavier Chretien

First, thank you for your critique! 😃

A) About the first line, you are right I could simply remove that line.

B) In an interview, I would probably follow the problem asked without any modification. In that case, I choose to return every fixed point on the given array but you are right I should just respect the problem.

C) I will update the post with your proposition

Once again thank you I really appreciate your comment 😃