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
419,183 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
Operations Engineer.net DeveloperMobile DeveloperPrincipal EngineerFirmware EngineerGame ProgrammerMobile EngineerJr Security AnalystPython DeveloperSenior DeveloperTechnical Program ManagerApplication DeveloperQa EngineerDevops EngineerAtg DeveloperData EngineerLead EngineerSoftware DeveloperC Developer