Software Interview questions : Set 27

/Software Interview questions : Set 27
  1. Merge two sorted arrays with O(1) extra space
  2. Maximum circular subarray sum
  3. Check if array can be sorted with one swap
  4. Maximum product subset of an array
  5. Rearrange an array such that ‘arr[j]’ becomes ‘i’ if ‘arr[i]’ is ‘j’
  6. Rearrange an array such that arr[i] = i
  7. Longest span with same sum in two binary arrays
  8. Maximum path sum for each position with jumps under divisibility condition
  9. Number of ways to calculate a target number using only array elements
  10. Ways to sum to N using array elements with repetition allowed
  11. Print all sub-arrays of an array having distinct elements
  12. Count subarrays having total distinct elements same as original array
  13. Maximum sum of lengths of non-overlapping subarrays with k as the max element
  14. Group multiple occurrence of array elements ordered by first occurrence
  15. Count number of occurrences (or frequency) in a sorted array
  16. Print triplets with sum less than or equal to k
  17. Replace each element of the array by its corresponding rank in the array
  18. Find all triplets in a sorted array that forms Geometric Progression
  19. Job Sequencing Problem
  20. Find Surpasser Count of each element in array
  21. Find all combinations that add upto given number
  22. Absolute distinct count in a sorted array
  23. Check if array elements are consecutive
  24. Find even occurring elements in an array of limited range
  25. Replace every element with the least greater element on its right
May 28th, 2019|Categories: Job|
avatar
  Subscribe  
Notify of