Please, do not use triple backticks (```) as they will only render properly on new reddit, not on old reddit. If any of the above points is not met, your post can and will be removed without further warning.Ĭode is to be formatted as code block ( old reddit: empty line before the code, each code line indented by 4 spaces, new reddit: ) or linked via an external code hoster, like, github gist, github, bitbucket, gitlab, etc. Also, see Learn to help yourself in the sidebar Here follow means a full match, such that there is a bijection between a letter in. Trying to solve problems on your own is a very important skill. Given a pattern and a string s, find if s follows the same pattern.
You demonstrate effort in solving your question/problem - plain posting your assignments is forbidden (and such posts will be removed) as is asking for or giving solutions. You include any and all error messages in full Your code is properly formatted as code block - see the sidebar (About on mobile) for instructions