Software Interview Questions

551,241 software interview questions shared by candidates

Given a string, that contains special character together with alphabets (‘a’ to ‘z’ and ‘A’ to ‘Z’), reverse the string in a way that special characters are not affected. Examples: Input: str = "a,b$c" Output: str = "c,b$a" Note that $ and , are not moved anywhere. Only subsequence "abc" is reversed Input: str = "Ab,c,de!$" Output: str = "ed,c,bA!$"
avatar

Software Developer

Interviewed at Zoho

4.2
Mar 8, 2018

Given a string, that contains special character together with alphabets (‘a’ to ‘z’ and ‘A’ to ‘Z’), reverse the string in a way that special characters are not affected. Examples: Input: str = "a,b$c" Output: str = "c,b$a" Note that $ and , are not moved anywhere. Only subsequence "abc" is reversed Input: str = "Ab,c,de!$" Output: str = "ed,c,bA!$"

1) circular linked list 2)adding index 0 to till same array {2,4,4,3,1} so ans is 2+4 = 6 3) adding positive and negative number [array] 4) put user defind value passng arguments to the define function and solving the math problem.
avatar

Software Engineer

Interviewed at BridgeLabz Solutions

3.7
Feb 28, 2019

1) circular linked list 2)adding index 0 to till same array {2,4,4,3,1} so ans is 2+4 = 6 3) adding positive and negative number [array] 4) put user defind value passng arguments to the define function and solving the math problem.

Viewing 2251 - 2260 interview questions

Glassdoor has 551,241 interview questions and reports from Software interviews. Prepare for your interview. Get hired. Love your job.