AlgoSec
10+ eClinicalWorks Interview Questions and Answers
Q1. Intersaction task. Find the point where maximum intersactions are happening in a 2 d graph.
The point where maximum intersections are happening in a 2D graph can be found by analyzing the overlapping regions of lines or curves.
Identify all the lines or curves in the graph
Determine the regions where these lines or curves overlap
Count the number of intersections in each overlapping region
Find the point with the highest number of intersections
Q2. Find max of multiple of 3 elements of an array which has positive and neagitive values
Find max of multiple of 3 elements in an array with positive and negative values.
Iterate through the array and keep track of the three largest positive and negative numbers.
Multiply the three largest positive numbers and the three largest negative numbers by each other and find the maximum of the resulting products.
Q3. Coding Question: Longest Common Subsequence, given two strings --Solved and was working fine.
Find the longest common subsequence between two strings.
Use dynamic programming to solve the problem efficiently.
Create a 2D array to store the lengths of common subsequences.
Trace back the array to reconstruct the longest common subsequence.
Example: Given strings 'ABCBDAB' and 'BDCAB', the longest common subsequence is 'BCAB'.
Q4. Find the 2nd largest or 3rd largest element in an Array.
Find the 2nd or 3rd largest element in an Array.
Sort the array in descending order
Return the element at index 1 or 2
Q5. Find Maximum product triplet from a array.
Find maximum product triplet from an array.
Sort the array in ascending order.
Check the product of the last three elements.
Check the product of the first two elements and the last element.
Return the maximum product.
Q6. Count of repeating character in a string.
The count of repeating characters in a string.
Iterate through each character in the string.
Use a dictionary to keep track of the count of each character.
Return the count of repeating characters.
Q7. What is Dynamic Routing in Networking.
Dynamic routing in networking is a process where routers can select the best path for data packets based on real-time information.
Dynamic routing protocols allow routers to exchange information and adapt to changes in the network.
Examples of dynamic routing protocols include RIP, OSPF, and BGP.
Dynamic routing is more flexible and scalable compared to static routing.
Dynamic routing helps in load balancing and fault tolerance in networks.
Q8. Create a custom string sorter
A custom string sorter that sorts an array of strings in ascending order.
Use a sorting algorithm like bubble sort, selection sort, or merge sort to sort the array of strings.
Compare each pair of strings and swap them if they are in the wrong order.
Repeat the process until the array is sorted in ascending order.
Q9. Java coding round- Find second highest number from an Integer array without creating any new array.
Use two variables to keep track of highest and second highest numbers in the array.
Iterate through the array and compare each element with the highest and second highest variables.
Update the variables accordingly to find the second highest number.
Q10. Provide list of test test inputs you will be giving to test your program.
Test inputs include valid inputs, boundary values, invalid inputs, and edge cases.
Valid inputs: Providing inputs within the valid range to ensure the program functions correctly.
Boundary values: Testing inputs at the boundaries of valid ranges to check for any issues.
Invalid inputs: Testing inputs outside the valid range to see how the program handles errors.
Edge cases: Testing extreme or unusual inputs to uncover any unexpected behavior.
Q11. Diff between Switch and Router
Switch operates at data link layer and forwards data based on MAC addresses. Router operates at network layer and forwards data based on IP addresses.
Switch operates at layer 2 of OSI model, while router operates at layer 3.
Switch forwards data within the same network, while router forwards data between different networks.
Switch uses MAC addresses to make forwarding decisions, while router uses IP addresses.
Switch is typically used in LANs, while router is used to connect dif...read more
Q12. Merge the Intervals.
Merge overlapping intervals in an array of intervals.
Sort the intervals based on the start value.
Iterate through the intervals and merge overlapping intervals.
Return the merged intervals.
Q13. Collections in Java
Collections in Java are data structures that store and manipulate groups of objects.
Collections framework provides interfaces (List, Set, Map) and classes (ArrayList, HashSet, HashMap) for storing and manipulating data.
Collections offer methods for adding, removing, and accessing elements in a structured way.
Example: List
names = new ArrayList<>(); names.add("Alice"); names.add("Bob"); Example: Set
numbers = new HashSet<>(); numbers.add(1); numbers.add(2);
Q14. Testing scope in the project
Testing scope in a project refers to the boundaries and extent of testing activities that will be conducted.
Identify the features and functionalities to be tested
Determine the testing techniques and tools to be used
Define the entry and exit criteria for testing
Consider the constraints such as time, resources, and budget
Ensure test coverage across different platforms and environments
Interview Process at eClinicalWorks
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month