The DI (Decreasing/Increasing) String Match Algorithm December 16, 2018 algorithms, c / c++, java, string No Comments Your task is to return an array (that contains integer numbers from 0 to N, N is the length of a given string S that contains only I or … [Continue Reading...]
How to Reverse Only Letters in a String? December 2, 2018 c / c++, java, string No Comments Given a string S, return the “reversed” string where all characters that are not a letter stay in the same place, and all letters reverse their positions. Given a … [Continue Reading...]