String immediately went = "http://icourse8.com/webfluxxys.html";
details
Chapter 1 Introduction Course
Chapter 2 Functional programming and lambda expressions
Chapter 3 Stream flow programming
Chapter 4 reactive stream flow responsive
Chapter 5 webflux server developed to explain
Chapter 6 webflux client declarative development framework to explain restclient
class Solution { public String longestCommonPrefix(String[] strs) { if (strs.length == 1){ return strs[0]; } StringBuilder sb = new StringBuilder(); if (strs.length>1) { int len = strs[0].length(); for (int i = 0; i < len; i++) { char curr = strs[0].charAt(i); for (int j = 1; j < strs.length; j++) { if (strs[j].length()<=i ||strs[j].charAt(i) != curr) { return sb.toString(); } if (strs[j].charAt(i) == curr && j == strs.length - 1) { sb.append(curr); } } } } return sb.toString(); } }