Files
Abhijeet Chakraborty 5d1265df24 algo: remove similar question (#202)
Removed
`- Sort a list where each element is no more than k positions away from its sorted position.`
as it is same as 
`Sort a list of numbers in which each number is at a distance K from its actual position.`
2021-04-13 09:23:09 +08:00

1.0 KiB

id title
sorting-searching Sorting and Searching

Sample questions

  • Sorting search results on a page given a certain set of criteria.
  • Sort a list of numbers in which each number is at a distance K from its actual position.
  • Given an array of integers, sort the array so that all odd indexes are greater than the even indexes.
  • Given users with locations in a list and a logged-in user with locations, find their travel buddies (people who shared more than half of your locations).
  • Search for an element in a sorted and rotated array.
  • Merge two sorted lists together.
  • Give 3 distinct algorithms to find the K largest values in a list of N items.
  • Find the minimum element in a sorted rotated array in faster than O(n) time.
  • Write a function that takes a number as input and outputs the biggest number with the same set of digits.