Welcome! This repository serves solely as part of an assignment for UBCO COSC 499. It consists of three classes:
We have code for running methods in the feature classes. This is where the main method locates.
Given a String, we find the length of the longest substring without repeating characters
System.out.println(Feature1.lengthOfLongestSubstring("pwwkew"));//gives you three
Given a String, we find the longest substring that is a palindrome
System.out.println(Feature2.longestPalindrome("cbbd"));//gives you "bb"