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.
sample tes2:
string length =8
rows =2 and cols =3 , floor and ceil
rows *cols < L (8) readujust rows and cols such that
rows *cols >= L and rows and rows*cols is minimu with multiple grid options
Here we have two option 2*4 or 3*3, rows =2 and cols=4 is minimum area
With this option it says wrong answer. The expected answer matches with 3*3 grid which not as per specs. mistake in problem
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Join us
Create a HackerRank account
Be part of a 26 million-strong community of developers
Please signup or login in order to view this challenge
Encryption
You are viewing a single comment's thread. Return to all comments →
sample tes2: string length =8 rows =2 and cols =3 , floor and ceil rows *cols < L (8) readujust rows and cols such that rows *cols >= L and rows and rows*cols is minimu with multiple grid options Here we have two option 2*4 or 3*3, rows =2 and cols=4 is minimum area With this option it says wrong answer. The expected answer matches with 3*3 grid which not as per specs. mistake in problem