Python : Find number of distinct words ignoring non alphanumeric characters

Опубликовано: 24 Март 2026
на канале: Grow with Data
451
16

Video 4: This video shows the brute force and also simple way of addressing the interview question, "get the number of distinct words from a sentence". We are using Jupiter notebook and walk you thru step by step approach of how to address the question, where you might make mistakes and how to address those gaps. This is a continuation of my previous video where we used a sentence with only alpha numeric characters. What if we have non alpha numeric characters like comma or period?

This video will show you the way you address the non alphanumeric characters. The link to the codebase and the next video reference will be shared in this description

code: https://github.com/jeganpillai/python...
Previous video with simple alphanumeric sentence:    • Python : Find number of distinct words in ...  

Follow me on,
YouTube :    / @growwithdata  
Website : https://growwithdata.co/
LinkedIn :   / growwithdata  
Facebook :   / growwithdata.co  
twitter :   / growwithdata_co  
WhatsApp : https://whatsapp.com/channel/0029VaF8...
Instagram :   / growwithdata.co  


#unique #uniquewords #distinct #distinctwords #wordcount #python #pythonquestions #pythontest #pythonprogramming #pythontutorial #python3 ##unique #uniquewords #distinct #pythonforbeginners #interviewquestions #interview #dataengineers #deinterview #pythoninterview #interviewquestions #leetcode #placementpreparation #meta #google #facebook #apple #netflix #amazon #google #faang #maanga #dataengineers #alphanumeric #nonalphanumeric