Just a MINOR change.
please change the RED line(I've marked it below) in your code by the
following line:
*return (x*((z*z)%MOD))%MOD;*
and enjoy an *ACCEPTED *verdict.*
*
*Wasif Hossain**
*
B.Sc. Student of Final Semester,
Computer Science and Engineering(CSE),
Bangladesh University
@prasad jondhale: +1
Thanx.
Wasif Hossain
Final Semester Student,
Computer Science and Engineering(CSE),
Bangladesh University of Engineering and Technology(BUET)
Dhaka, Bangladesh.
On Wed, Oct 12, 2011 at 3:47 AM, prasad jondhale
jondhale.pra...@gmail.comwrote:
hey man u have made a very
Humble query to Admin: Is this question still relevant to this group by now
when interview-street is running properly?
On Thu, Oct 6, 2011 at 2:26 AM, htross htb...@gmail.com wrote:
Does anybody know what kind of questions are asked in ivy comptech???
''
--
You received this message because
@Ankur: +1
On Fri, Oct 7, 2011 at 8:44 PM, Ankur Garg ankurga...@gmail.com wrote:
To do inplace stack reversal u need a mechanism by which u can transfer the
first node to last of the stack making sure u have count of other nodes
here
Say u have stack
5- top
4
3
2
1
The answer