TIL day2 (June1)

leech gamer
Jun 1, 2021

Our team has started a new Java project . So, I want to find language of sense in Java again. Today I solved 3 Basic Algorithm problems after work.

  1. find String

find number of times a string occurs as a subsequence in given string.

2. case conversion

Replace Lower Case to Upper Case and UpperCase to Lower Case in a String.

3. word in text

Given a sentence, write a program that prints the longest word in that sentence.

--

--