Odd One Out

Asked at MathWorks · Coding & Leetcode-style Questions · Difficulty: Easy

Analyze the difference in adjacent letters of the alphabet given a string. Given an input sequence of words, find the 'Odd One Out' by checking the difference between adjacent letters. The element having a distinct difference is the 'Odd One Out.'

Loading the problem…