APPLICANT NAME: DATE:
Please use the Java language or any Java related framework for the problems
described below.
1. Problem Description:
Write a programme that will take the below JSON as input and print the value
of each calculation field. The input can have a 0-N number of calculations.
[{"calculateField":"customFloat1",
"formula": "10+15"
},
{"calculateField":"customFloat2",
"formula": "customFloat1*10"
},
{"calculateField":"customFloat3",
"formula": "customFloat2-18"
},
{"calculateField":"customFloat4",
"formula": "customFloat3+customFloat2"
}
]
In this input json, the calculateField from customFloat1-customFloat4 are field
names. The value will be calculated based on the formula available in the
JSON.
The output would be fieldname and value.
Ex: FieldName: customFloat1
Value: 25
2. Problem Description:
In a file folder tree structure, how can you show 0-N level files and folders in
the frontend?
There is no need to write any code. Explain high-level data structure and how
you can achieve that.
3. Problem Description:
In a multi-tenant application, how can you ensure someone does not see
another's data? Provide a high-level solution to achieve this