We use cookies to ensure you have the best browsing experience on our website. Please read our
cookie policy
for more information about how we use cookies.
Ok
HackerRank
|
Prepare
Certify
Compete
Apply
Hiring developers?
Log In
Sign Up
Prepare
Data Structures
Stacks
Poisonous Plants
Discussions
Poisonous Plants
Problem
Submissions
Leaderboard
Discussions
Editorial
You are viewing a single comment's thread.
Return to all comments →
thebick
7 years ago
+ 0 comments
1<3, 3<5, 2<7; leaving 1 2 6 4 2 1
1<2, 2<6; leaving 1 4 2 1
1<4; leaving 1 2 1
1<2; leaving 1 1 and nothing more happens
Poisonous Plants
You are viewing a single comment's thread. Return to all comments →