Day 5 of LeetCode Challenge
Problem 1: Reverse Prefix Problem
Link to the problem: https://leetcode.com/problems/reverse-prefix-of-word/description/
class Solution {
public String reversePrefix(String word, char ch) {
int index = word.indexOf(ch);
String su...
tusharpant.hashnode.dev2 min read