DEV Community

Discussion on: Maximum Height When Coins are Arranged in Staircase Fashion - A GoDaddy Interview Question

Collapse
 
10xlearner profile image
10x learner

Nice article 😃

I have one suggestion if you want your C++ solution to be more performant, you can use the keyword constexpr and have your function arrangeCoins to be executed at compile Time 😉

Collapse
 
ayanb profile image
Ayan Banerjee • Edited

Thanks! I will look into it more!