Strings

Notes

  • For substring kind questions, a stack or a two-pointer (one pointer running on one string and a second running on the second one can be used)

  • Another approach is one using an array containing all the elements inside ASCII and using that to make different calculations

Last updated