Skip to content

Tag Archives: Infosys

Given a sorted array arr[] of n elements, write a function to search a given element x in arr[].A simple approach is to do a… Read More
  Given an array (or string), the task is to reverse the array/string.Examples :   Input : arr[] = {1, 2, 3} Output : arr[] =… Read More