public class Person { Person father; Person mother; Gender gender; Integer age; List<Person> children; int level = 0; public enum Gender { Male, Female; } } For the above class, you basically have to implement 2 methods. public List<Person> getOldestSisters() public List<Person> getGreatestAncestors()
Software Engineers Interview Questions
418,794 software engineers interview questions shared by candidates
Given a string s="my name is anny" print it in this manner: m n i a y a s n m m e y ie first letter of every word in the string
basics
MCQ Round had programming questions of moderate difficulty
Write code to parse a string and count the number of occurrences of each word.
Code Review
What is the time complexity to find the median in an array?
Given a value in a binary search tree, write an algorithm that returns the next greatest value. The tree is assumed to contain the given value.
If there are two lists, and each have an identical number in them except for one unique number, how do you find the unique number?
Given unsorted array, find the 2 max numbers in it.
Viewing 561 - 570 interview questions
See Interview Questions for Similar Jobs
Firmware Engineer.net DeveloperPrincipal EngineerOperations EngineerMobile EngineerMobile DeveloperGame ProgrammerPython DeveloperJr Security AnalystDevops EngineerQa EngineerTechnical Program ManagerData EngineerSenior DeveloperLead EngineerAtg DeveloperApplication DeveloperC DeveloperSoftware Developer