Q. Complete the method “Set getAllCombinations(String input) ” where input is any string and the method should return all possible combinations of a given string.
Q. Complete the method “Set getAllCombinations(String input) ” where input is any string and the method should return all possible combinations of a given string.
This is an extension to Java Tree structure interview and coding questions — Part 2, and adds functional programming and recursion. Step 1: The Tree interface with get( ) method that …
Q. What output is expected from the following code? What does it actually output?
This is an extension to Java Tree structure interview questions and coding questions — Part 3 where recursion was used for FlattenTree interface. Let’s use iteration here. Step 1: The FlattenTree interface.
Q: Implement an in-memory cache in Java without using any frameworks. The basic requirements are – The TTL (Time To Live) for the cache items are ~10 seconds [just for …
Java coding interview questions are very common in job interviews. Good coding skills are essentials for passing the peer code reviews with flying colours. Here are 17 coding tips with …
Q: Create a simple framework where work items can be submitted using Java 8 or later. Here are the use cases: #1: A work item is an instance of a …
Q: Write a program that takes any 10-digit phone number and produces a list of words matching first letters of the phone number (2 – ABC, 3 – DEF, .. …
This makes use of the Functional Programming (FP) approach. Q: Write a program that takes any 10-digit phone number and produces a list of words matching first letters of the …
Problem Statement: How would you go about writing an SQL WHERE clause parser to evaluate a given condition against the given data in a Hashmap. For example:
I have a good news, I got job offer. I like to share with you from my bottom of my heart feeling thankful to you.