coding for fun
BAN USERGreat!!! Works for all test cases...!!
- coding for fun March 01, 2012Reverse the individual strings before the white space
Example :
I am boy
I ma yob
after reverseral of each individual string reverse the entire string
o/p
boy am I
Example 2
Hello Life
a) olleH efiL
b) Life Hello
Note :
In place algorithm..No extra space needed...
This can be solved in O(n2) time and without using extra space...same question is mentioned in Cracking the Coding Interview.....
- coding for fun December 27, 2011so can anyone give a final solution using a single loop with time complexity O(n)
- coding for fun December 27, 2011Can anyone give the code for it??
- coding for fun December 11, 2011
RepCorrinaAyala, Field Sales at Coupondesh
Corrina, works as a Training and development manager. The Training and Development Manager is responsible for improving the productivity of ...
RepLicholsLowry, Associate at AMD
I am Lichols, I am an outreach worker in Desmonds Formal Wear company .I specialise in a variety of different ...
Code works very fine....great!!
- coding for fun March 01, 2012But it finds the MISSING NUMBER not the REPEATING NUMBER