How will u find whether a linked list has a loop or not?
NOTE:[No extra memory is to be used. The loop may intersect even at center]
Monday, July 28, 2008
Sunday, July 27, 2008
C challenge 2
Given n nodes. Find the number of different structural binary trees that can be formed using the nodes. Reply by posting a gcc or g++ compatible codes. Also explain ur codes
C challenge
You are given any character string. Find the number of sets of vowels that come in the order of aeiou in the given string. For eg., let the given string be DIPLOMATIC. The answer returned must be "The number of sets is 2" and "The sets are "IO and AI". Vowels that form a singleton set must be neglected. Try to post the program executable in gcc or g++ or in java.
Monday, July 21, 2008
Puzzle1
Smugs has found a real tough one for Bets. There is a sequence which goes:
He wants Bets to tell what the next term in this sequence is. Can you help Bets?
Welcome CSITAns
Hi everybody,
We are creating this blog to aid our placement preparation and to improve our knowledge. Do contribute your best to keep this blog lively and active.
Subscribe to:
Posts (Atom)