Write a function that determines if two strings are anagrams.
Senior Engineer Interview Questions
107,237 senior engineer interview questions shared by candidates
Settimeout, flatten an array
Programming Question: Jay has N friends, there are M different type of tickets. Jay & his friend, each have some tickets ticket[i]. ticket[N] is the number of tickets Jay has. WAP to return the number of friends who's number of tickets are different from jay's ticket count with 'k'. input: 1. N - number of Jay's friends 2. M - different type of tickets 3. k - difference required 4. Array of tickets
What was one thing that someone said to you that stuck with you?
Given an n x n grid, find the number of ways to get from the bottom left to the top right given that you can only move up or right each time and you cannot move to any node on the bottom diagonal half of the grid, i.e. row less than col.
How would you manage a developer that was not closing tickets or whose output was subpar.
Give an API: int read4(char *buf) which reads 4 characters at a time from a file. The return value is the actual number of characters read. For example, it returns 3 if there is only 3 characters left in the file. By using the read4 API, implement the function int read(char *buf, int n) that reads n characters from the file.
1. Implement LinkedHashMap , how does it ensure O(1) for a get call. 2. Sort employee list , sorting can be applied on name,salary that will be decided on runtime. So we need to implement multiple comparators and pass the same to Collections.sort(list,new ComparatorName()). 3. In the above list make sure there is no duplicates, if fname and lname are same, they are duplicates.
Write a program to remove vowels from a given string
why you want to leave your previous company?
Viewing 311 - 320 interview questions