bansalkanav / SOLVING_200_LEETCODE_QUESTIONS

GNU General Public License v3.0
56 stars 71 forks source link

Code for partition labels #116

Closed VaibhavSaran closed 4 years ago

VaibhavSaran commented 4 years ago

The logic is made using dictionary in python where I store occurrences of letters in dictionary and then find greatest partition labels