Question: write the solution to the following problem in java Problem Statement In many compuiter systems and networks, different users are granted different levels of access
Problem Statement In many compuiter systems and networks, different users are granted different levels of access to different resources. In this case, you are given a int!] rights, indicating the privilege level of each user to use some system pablie elasa Meeeasevel. \& resource. You are also given a int minPermission, which is the minimum publie string eanaceesa(int!l righte, fat ningernitanion) f permission a user must have to use this resource. You are to return a String indicating which users can and cannot access this resoarce. Each character in the return value corresponds to the element of users with the same index. 'A' indicates the user is allowed access, while 'D' indicates the user is denied access. Constraints - users will contain between 0 and 50 elements, ibclusive. - Each element of users will be between 0 and 100 , inclusive. - minPermission will be befween 0 and 100 , inclusive
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
