employer cover photo
employer logo
employer logo

DBOI Global Services

Is this your company?

DBOI Global Services interview question

find number of 'a' in a string using one line code

Interview Answer

Anonymous

13 Feb 2019

use replaceall function to replace all 'a' , then count the length if string and substract the length from original