may be a map can help that maps string to their integer values ans then
using some set of rule to convert to a number

On Sun, Jun 12, 2011 at 12:28 AM, Abhishek Goswami
<[email protected]>wrote:

> @I got one of my interview . I tried to solve this issue but could not
> it...I did googling but could not help me much...
>
>
> On Sun, Jun 12, 2011 at 12:26 AM, Abhishek Goswami <[email protected]
> > wrote:
>
>> Can you bit descriptive..
>>
>>
>> On Sat, Jun 11, 2011 at 7:27 PM, rahul rai <[email protected]> wrote:
>>
>>> Count the number of spaces in the sentence. If the last word is
>>> {one/two .....} the just do the calling on the speciab part of code
>>> printing the rest of sentence
>>>
>>> On 6/11/11, rahul rai <[email protected]> wrote:
>>> > I wonder if there is any practical use of this algorithm for real life
>>> > implementation . . Please let me know where you caught this problem
>>> >
>>> > On 6/11/11, Abhishek Goswami <[email protected]> wrote:
>>> >> Hi,
>>> >> Can anyone have algorithm or program for convert word into number
>>> >>
>>> >> Input.   Three hundred twenty three     :  output 323
>>> >>
>>> >> Input        Twenty                              :  output -20
>>> >>
>>> >> --
>>> >> You received this message because you are subscribed to the Google
>>> Groups
>>> >> "Algorithm Geeks" group.
>>> >> To post to this group, send email to [email protected].
>>> >> To unsubscribe from this group, send email to
>>> >> [email protected].
>>> >> For more options, visit this group at
>>> >> http://groups.google.com/group/algogeeks?hl=en.
>>> >>
>>> >>
>>> >
>>> >
>>> > --
>>> > Rahul
>>> >
>>>
>>>
>>> --
>>> Rahul
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Algorithm Geeks" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected].
>>> For more options, visit this group at
>>> http://groups.google.com/group/algogeeks?hl=en.
>>>
>>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>



-- 
Sunny Aggrawal
B-Tech IV year,CSI
Indian Institute Of Technology,Roorkee

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to