MHN

ryanscript01123

karma 1·joined February 6, 2025·profile on HN

Full-stack developer who loves the fibonacci sequence.

// function fibonacciSequence(n) {
// const sequence = [];
// if (n <= 0) {
// return sequence;
// }
// sequence.push(0);
// if (n > 1) {
// sequence.push(1);
// }
// for (let i = 2; i < n; i++) {
// const nextNum = sequence[i - 1] + sequence[i - 2];
// sequence.push(nextNum);
// }
// return sequence;
// }
// const numTerms = 10;
// const fibSequence = fibonacciSequence(numTerms);
// console.log(fibSequence); // Output: [0, 1, 1, 2, 3, 5, 8, 13, 21, 34]

Recent activity

  1. Location: Minneapolis, MN, USA Remote: Yes Willing to relocate: No Technologies:...
  2. Location: Minneapolis, MN, USA Remote: Yes Willing to relocate: No Technologies:...
  3. Location: Minneapolis, MN, USA Remote: Yes Willing to relocate: No Technologies:...
  4. Location: Minneapolis, MN, USA Remote: Yes Willing to relocate: No Technologies:...
  5. Location: Minneapolis, MN, USA Remote: Yes Willing to relocate: No Technologies:...
  6. Location: Minneapolis, MN, USA Remote: Yes Willing to relocate: No Technologies:...
  7. Location: Minneapolis, MN, USA Remote: Yes Willing to relocate: No Technologies:...
  8. Location: Minneapolis, MN, USA Remote: Yes Willing to relocate: No Technologies:...
  9. Location: Minneapolis, MN, USA Remote: Yes Willing to relocate: No Technologies:...
  10. Location: Minneapolis, MN, USA Remote: Yes Willing to relocate: No Technologies:...
  11. Location: Minneapolis, MN, USA Remote: Yes Willing to relocate: No Technologies:...
  12. Location: Minneapolis, MN, USA Remote: Yes Willing to relocate: No Technologies:...
  13. Location: Minneapolis, MN, USA Remote: Yes Willing to relocate: No Technologies:...
  14. Location: Minneapolis, MN, USA Remote: Yes Willing to relocate: No Technologies:...
  15. Location: Minneapolis, MN, USA Remote: Yes Willing to relocate: No Technologies:...
  16. Location: Minneapolis, MN, USA Remote: Yes Willing to relocate: No Technologies:...
  17. Location: Minneapolis, MN, USA Remote: Yes Willing to relocate: No Technologies:...
  18. Location: Minneapolis, MN, USA Remote: Yes Willing to relocate: No Technologies:...
  19. Location: Minneapolis, MN, USA Remote: Yes Willing to relocate: No Technologies:...
  20. Location: Minneapolis, MN, USA Remote: Yes Willing to relocate: No Technologies:...
  21. Location: Minneapolis, MN, USA Remote: Yes Willing to relocate: No Technologies:...
  22. Location: Minneapolis, MN, USA Remote: Yes Willing to relocate: No Technologies:...