1. Given an array, rotate the array to the right by k steps, where k is non-negative. 2. Find the number of subarrays with sum k. 3. Write a function that returns an element of the input array which has a frequency greater than floor(n/2). If no such element exists, return -1. 4. Anagrams 5. Total count of all the permutations of short string in long string? 6. Given an array, max product formed by any 3 numbers
Software Development Engineer I Interview Questions
1,214 software development engineer i interview questions shared by candidates
A dynamic programming problem .
Questions related to projects .
they asked me two dsa questions one of which was spiral matrix and other was counting the frequency of words in a sentence in my second round it was basically behavioural, and one Dsa question it was printing the duplicate elements in an array
Viewing 1211 - 1220 interview questions