PharmEasy Interview Question

Questions related to Data structure, LinkedList, Selenium, TestNG Problem 1: for given integer array, find the maximum number which is formed using these integers i.e { 2,20,31,4,6,8} ==> 86431220 Problem 2: for a given integer array {4, 3, 5, 5, 5, 1, 3, 0, 2, 0} , Find maximum occurrence of number and sort it according to decreasing order i.e { 5=3, 3=2, 0=2, 4=1, 1=1} Question 3: write the cases for deleting an element from Singly linked list and doubly linked list Other question like write the cases for Payment Gateway etc

Interview Answer

Anonymous

Oct 16, 2020

1st- failed to solve 2nd- solved half way but couldn't get result in asked manner 3rd- wrote few cases