Post your project for free and start receiving proposals from freelancers within minutes after publication!
JAVA home task (time, up to today at 16:00 a fee for emergency!)
The task is to write two methods on the Java, the following description of the project:
The task 1.The zipMany() method has n different massives at the entrance.Therefore, the signature has a type of int[] zipMany(int[] array).The numbers of the input masses must be simultaneously inserted into the results masses.Similarly, the masses that have already been fully processed are passed until all the values of the input masses are used.If the entrance mass is empty, the empty mass returns.For example: with the masses=[1,4],[2,5], [3,6] the result will be [1,2,3,4,5,6].The task 2.The public static void rotate (int [] array, int amount) method is designed to turn the records of the massive back to the amount.that is.All records must be shifted back to the size, with the latter element returning to the first position when turning at 1.For example, if the mass [1, 2, 3, 4, 5] turns to 2, then the mass [4, 5, 1, 2, 3].1, 2 and 3 were moved back to 2, 4 and 5 would fall out of the boundaries of the mass, so they are again ahead.The rotation around the negative number corresponds to the rotation to the other side (back), the rotation around the number with the number ≥ array.length simply turns it completely several times.For example, if you turn [1, 2, 3, 4, 5] to -1, then you will get a massive [2, 3, 4, 5, 1].If you turn [1, 2, 3, 4, 5] to 6, then you will get a massive [5, 1, 2, 3, 4].Thus, any int can be transferred for the amount, and the right rotation will always be obtained.The use of Collections.rotate(x, y) is prohibited!Conditions of submission of the project: the university system accepts the result and does not make errors.I promise a supplement for urgency.
The task 1.The zipMany() method has n different massives at the entrance.Therefore, the signature has a type of int[] zipMany(int[] array).The numbers of the input masses must be simultaneously inserted into the results masses.Similarly, the masses that have already been fully processed are passed until all the values of the input masses are used.If the entrance mass is empty, the empty mass returns.For example: with the masses=[1,4],[2,5], [3,6] the result will be [1,2,3,4,5,6].The task 2.The public static void rotate (int [] array, int amount) method is designed to turn the records of the massive back to the amount.that is.All records must be shifted back to the size, with the latter element returning to the first position when turning at 1.For example, if the mass [1, 2, 3, 4, 5] turns to 2, then the mass [4, 5, 1, 2, 3].1, 2 and 3 were moved back to 2, 4 and 5 would fall out of the boundaries of the mass, so they are again ahead.The rotation around the negative number corresponds to the rotation to the other side (back), the rotation around the number with the number ≥ array.length simply turns it completely several times.For example, if you turn [1, 2, 3, 4, 5] to -1, then you will get a massive [2, 3, 4, 5, 1].If you turn [1, 2, 3, 4, 5] to 6, then you will get a massive [5, 1, 2, 3, 4].Thus, any int can be transferred for the amount, and the right rotation will always be obtained.The use of Collections.rotate(x, y) is prohibited!Conditions of submission of the project: the university system accepts the result and does not make errors.I promise a supplement for urgency.
Client's review of cooperation with Vitalii B.
JAVA home task (time, up to today at 16:00 a fee for emergency!)Quality
Professionalism
Cost
Contactability
Deadlines
Excellent cooperation, we found a solution that fit both sides.
Profile deleted
| Safe ![]()
Freelancer's review of cooperation with client
JAVA home task (time, up to today at 16:00 a fee for emergency!)Payment
Task setting
Clarity of requirements
Contactability
I was a compelling person, pleasant to communicate, patient.
Current freelance projects in the category Java
Application developmentI wish to create a mobile application for communication, the app should have audio and video calls, group chat creation, the ability to sync with phone contacts, account settings: email binding, 2FA, phone number, the ability to customize app notifications, change the app… Java, Python ∙ 9 hours 34 minutes back ∙ 14 proposals |