BhimubgmFeb 22, 20191 min readFind longest common prefix between two strings.#bhimubgm, #string, #java, #prefix Understanding the problem: We are going to find the longest prefix between any two strings given. If...
BhimubgmFeb 20, 20191 min readFind longest common suffix between two strings.#bhimubgm, #string, #java, #suffix Understanding the problem: We are going to find the longest suffix between any two strings given. If...
BhimubgmFeb 20, 20192 min readInsert Star(*) between consecutive even digits and Hyphen(-) between consecutive odd digits.#java, #bhimubgm, #addStar, #addHyphen, #addDash #numbers, #evenNumbers, #oddNumbers #formatNumber Understanding the problem: We are...
BhimubgmFeb 14, 20193 min readCount of consecutive occurrence of the characters in a string.#bhimubgm, #Java, #String, #consecutive_occurrence, #count_of_character Understanding the problem: We are going to count the consecutive...