Home

Search

 
 

User login

Register
 
 
  • Placement Papers
  • Interview Questions
  • Jobs in India
  • Content Base
  • Quiz/Puzzles
  • Questions

Important Program Codes

More Advanced programs


  • Find the Original Array

  • Given a number N, find out the nearest power of 2 which is greater than or equal to N

  • Output some data to Different files each having a Unique Filename

  • Find the row with maximum number of Zero in an NxN array in O(n) time

  • Write a program which finds the longest palindrome in a given string of characters

  • Write a function which takes an array and emits the majority element (if it exists), otherwise prints NONE

  • Merge these two arrays without using any extra space so that the array of M+N size is sorted

  • Write a function that will flip the N*N array about its non major diagonal

  • Given a tree and a sum, write an algorithm to return TRUE if there is a path from the root node

  • Given two arrays A and B. Array A contains all the elements of B but one more element extra. Find out the extra element

  • GIven input as a string. Output a string with the order of characters same as the input but with same characters grouped

  • How will u find the first repeating letter in a string?

  • Give an O(log(n)) algorithm to determine whether there exists an index i such at ai = i

  • Give O(log n) algorithm to find median of the array formed by merging the 2 arrays

  • Given a string s1 and a string s2,write a snippet to say whether s2 is a rotation of s1

          
About Us | What is Coders2020 | Contact Us | Privacy Policy
Copyright - 2006-08 Coders2020.com