HackerRank’s Post

View organization page for HackerRank, graphic

1,542,939 followers

This loop didn’t loop how loops should loop 🫠

Binesh Balakrishnan

Senior QA Lead | Expert in Test Automation & Quality Assurance | ISTQB Certified Tester | 10+ Years of Experience

2w

And you wonder why the code never enters the loop. :)

JorgeAlberto H.

Software Engineer | CISSP, CCSP, SEC+

2w

Better than for(i = 0; i <= 5; i - -)

Chetan Vashistth

Designing Distributed Systems at NEC

2w

It seems GeeksforGeeks admin has switched the job 🤔

Quyet Nguyen

Unemployed, lazy, useless

2w

Change i=5 then boom Nonstop

Md Shafaque

2nd Year UnderGrad, National Institute Of Technology(NIT), Calicut | A member of CodeXLevitators, working towards Innovative AI Solutions for Problems | Hands-on Experience over AI tools for Software Development

1w

Just do apply a semicolon ';' after the for loop, that's it.

Karan Sehgal

Full Stack Developer 🚀 | MERN Stack Specialist 🛠️ | DSA Enthusiast 🤖 | Coding Clean and Creative Solutions | Open to Collaborate! 👋

2w

Looks like that loop took a detour to Loop-de-Not"! 😅

Hahaha, well that's a disaster.

Like
Reply
gandepalli sandeep

Attended DADI Institute of Engineering & Technology, Nh-5, Gavarapalem, Anakapalle-531002, (CC-U4)

2w

I will never execute the loop even it willnot throw any errer as it is following syntax. :)

Like
Reply
See more comments

To view or add a comment, sign in

Explore topics