Last active
July 11, 2025 04:59
-
-
Save kcore/b19fe9741dd2ae8b4266ecb9d590a897 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Build a Rails App that has 2 features - | |
1. Task Management - User should be able to signup/login, add tasks, view tasks, edit tasks, mark them complete. Use Bootstrap to design the frontend UI | |
2. API that accepts input which is a N x M matrix containing only 1 & 0 as elements, return a sub-matrix of maximum size with all 1s. | |
For example, consider the below matrix. | |
matrix = [ | |
[1, 0, 1, 1], | |
[0, 1, 0, 1], | |
[1, 1, 1, 0], | |
[1, 1, 1, 1] | |
] | |
The submatix with only 1's & maximum size is | |
[ | |
[1,1,1], | |
[1,1,1] | |
] | |
Expectations: | |
- Ensure that there is code documentation, test cases | |
- Please deploy the app on Heruko or any other platform & share the url | |
- Share the github repository URL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment