-> Tell me about yourself.
-> rate yourself in java
-> questions based on OOPS concepts like abstraction, constructors, data hiding, ever used these concepts?
-> array vs array-list
coding questions:
-> given a string, replace 'a' with * and print its index.
Input -> apple
banana
Output-> 0*pple
135b*n*n*
-> given an array of unique integers, print index of all pair that equal to the target sum.
Input -> 8,2,1,4,5,6,9,7
target = 10
output ->
0 1
2 6
3 5
-> given input and output, define the logic behind output and code it.
Input -> a,e,!,#,r,y,^,u,*,k
output -> k,u,!,#,y,r,^,e,*,a
Puzzle -> there are 3 bottles, 2 of them contain poison and one contain milk. a scientist has 20 days to find out which bottle contain milk and a rat to experiment that dies in 10 days after consuming poison (gfg rat poison puzzle)