Skip to content

Tag Archives: SAP Labs

  Write a function rotate(ar[], d, n) that rotates arr[] of size n by d elements.   Become a success story instead of just reading about… Read More
  Given a sorted linked list and a value to insert, write a function to insert the value in a sorted way.Initial Linked List   Become… Read More
Given a positive integer, write a function to find if it is a power of two or not.Examples :  Input : n = 4 Output… Read More