top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

C: splitting a math string into tokens before arriving every operator in the math string equation

+2 votes
273 views

Input: "45+60-80+90"
Output: "45" "+" "60" "-" "80" "+" "90"

posted May 6, 2015 by anonymous

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
+3 votes

I need help in writing the code where I enter the input in which each char is followed by its occurrence and output should be absolute string.

Example
Input a10b5c4
Output aaaaaaaaaabbbbbcccc

+8 votes

Convert the given string into palindrome with minimum number of appends(at end of the given string). O(n) algorithm will be appreciated ??

Input :=> Malayal
Output :=> Malayalam

0 votes

Find the first non repeating character in a string.

For example
Input string: "abcdeabc"
Output: "e"

...