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.
Brilliant solution. I was close but was not able to figure out how to reassign values in data stack, your solution's non_div_stack.clone() method helped me.
Thanks
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Waiter
You are viewing a single comment's thread. Return to all comments →
Brilliant solution. I was close but was not able to figure out how to reassign values in data stack, your solution's non_div_stack.clone() method helped me. Thanks