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.
Agreed! Clever approach. You hacked around the contraints placed by the test maker! I think this approach actually deserves more kudos than a correct implementation of the intended one to dynamically malloc C arrays.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Variable Sized Arrays
You are viewing a single comment's thread. Return to all comments →
Agreed! Clever approach. You hacked around the contraints placed by the test maker! I think this approach actually deserves more kudos than a correct implementation of the intended one to dynamically malloc C arrays.