Start hiring job-fit candidates using this assessmentGET A DEMO
"Our recruiters no longer rely only on the telephonic interviews. We shortlist candidates based on assessment reports. The detailed test reports provide skill wise analysis of each candidate. This has helped our clients reduce their time to hire by 60%."
General Manager HR & Recruitement
Recently, Michel found few straws each of length 1 inch in the storeroom.
He took all of them and decided to mark a rectangular area on the floor with straws and warn the rest of the family members not to enter that area so that he can play in peace.
He wants to maximize that area. Write a program for him to find maximum area that he can cover in inches using Z straws.
A square cannot be considered as a rectangle.
Straws cannot be bent/broken while marking the rectangular area.
The first line contains a single integer Z - Number of straws.
Print the area of the largest rectangle that can be formed using the given straws.
3 i.e. (3*1)
Good News! You can customize this test as per your requirement
Choose and add questions from Interview Mocha question libraries
Add your own set of questions
Customize test settings like duration, number of questions, passing score, web proctoring and much more
Mail us at email@example.com to create a custom test
Looking for a tailor-made test, to suit your assessment needs?Get in touch
Global companies using Mocha assessments
How Mocha assessments are brewed
Speed up your IT recruitment with Interview Mocha
- 500+ IT skill tests
- 20+ coding languages
- 50+ domain knowledge tests
- 100+ digital 2.0 skill tests
- Customer focus aptitude tests
- Enterprise ready features & more...