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.
I know this is not how we are supposed to solve this question. However, since we only have 6 possible cases AND 4 of them are already given AND it is so easy to generate the other 2 cases by hand using "replace" command from any text editor, I could not help myself to apply the "copy paste replace" ops to finish this question instead :)
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Functions and Fractals: Sierpinski triangles
You are viewing a single comment's thread. Return to all comments →
I know this is not how we are supposed to solve this question. However, since we only have 6 possible cases AND 4 of them are already given AND it is so easy to generate the other 2 cases by hand using "replace" command from any text editor, I could not help myself to apply the "copy paste replace" ops to finish this question instead :)