question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

there’s a test case that makes it possible for my algorithm to get into an infinite loop

Challenge Name

https://www.freecodecamp.com/challenges/drop-it

Issue Description

  • faulty code gets executed immediately upon navigation to challenge page, resulting in an an infinite loop.
  • Page freezes even after reloading or closing tab and navigating back to challenge web address.

Browser Information

Version: 39.0.2256.71 - Opera is up to date Update stream: Stable System: Windows 10 64-bit (WoW64)

Your Code

while(!func(arr[0])){arr.shift();}

Thank you.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
ivantedjacommented, Sep 18, 2016

check this out: https://github.com/freecodecamp/freecodecamp/wiki/FreeCodeCamp-Disable-Code-Autorun

try to add query string run=disabled to your URL

1reaction
erictleungcommented, Sep 18, 2016

@alevis check out the link that @ivantedja has pointed out above. If you get stuck or have questions with a challenge in the future, please first ask questions to the Help Room. Happy coding!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Infinite Loop - Apple Store
Apple Store Infinite Loop store hours, contact information, and weekly calendar of events. ... Apple Infinite Loop. Opens at 10:00 a.m.. Shop by...
Read more >
Infinite loop - Wikipedia
In computer programming, an infinite loop (or endless loop) is a sequence of instructions that, as written, will continue endlessly, unless an external ......
Read more >
Infinite Loop
Infinite Loop Music and Sound Production, Soundtracks, Sound Design, Recording Studio, Event Sound, Theatre Sound Design, Advertising, Commercials, ...
Read more >
What is infinite loop (endless loop)? | Definition from TechTarget
An infinite loop (sometimes called an endless loop ) is a piece of coding that lacks a functional exit so that it repeats...
Read more >
Infinity Loop: Puzzle game - Apps on Google Play
Play now one of the most addicting games that will challenge you and is a logic game at the same time. Infinity Loop...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found