Jump to content

Dota2

New Members
  • Posts

    3
  • Joined

  • Last visited

Dota2's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thanks a lot scootstah and gizmola for explaining the code so well. This makes much more sense now. once again, thanks!!
  2. thanks guys, it's working. Sorry, but I find it very difficult to understand the code. The interviewer told me to do it in 10 mins and given hint to use a data structure. I wasn't able to solve this in 10 mins. I guess there must be some simple way to solve this fast.
  3. Hi guys, I need help with this problem. I am stuck with this for a very long time. I want to reverse words in a sentence without using inbuilt string manipulation functions like explode,array_reverse, substring, etc. Any data structure like stack, can be used. input: this is phpfreaks expected o/p: phpfreaks is this I managed to do this in C and I've tried the same logic in PHP, but unfortunately my code is going in infinite loop. Please help me, I am new to PHP. Thanks in advance. rwords.php
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.