Question: Write a function in java , given an integer N , returns a String of length N containing as many as different lower case letters

Write a function in java , given an integer N , returns a String of length N containing as many as different lower case letters ('a'-'z') as possible in which each letter occurs an equal number of times given N=3 may return "fig", "pea", "nut"

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!