You are given a string with Alphabet set B,D,U and H. This string will be considered steady if each of letter occurs only n/4 times. For Example HBDU and BBHUHDDU both are steady strings. Now your job is to make a string steady if not by replacing substring of input string and replace it with any string of the same length. It can be a empty string also. Return the length of the minimum length substring that can be replaced to make string stable EXAMPLE: Input: HBBBUBBB Output: 5 Explanation: One optimal solution is to replace BBBUB with UUDDH resulting in HUUDDHBB
Junior Java Engineer Interview Questions
3,952 junior java engineer interview questions shared by candidates
What do you understand by polymorphism?
What is singleton design pattern
Dato questo input (cerchio, linea ecc) come faccio ad ottenere questo output (ccerchrioc ecc)
Core java ,Spring Boot, Hibernate, RESTful web services
take a string if "cat" and "dog" are their in equal times then print true else false
There is a question related to exception handling.
Java 8 features and how it can differ from others
Internal working of hash map?
Simple java Question like collection framework Spring boot framework
Viewing 1231 - 1240 interview questions
See Interview Questions for Similar Jobs
Jr Java DeveloperJunior Java DeveloperJunior Java Software EngineerSoftware Java EngineerSenior Java EngineerJunior Java Developer Software EngineerJava EngineerJunior JavaJava Support AnalystDeveloper Java BackendJava Backend DeveloperProgrammer Analyst Java DeveloperSenior Java ProgrammerSoftware Engineer Java DeveloperJunior Java Web DeveloperBackend Java DeveloperJava SupportJava Application Support