Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pclub Task Submission #1

Closed
parinayc20 opened this issue Aug 18, 2021 · 0 comments
Closed

Pclub Task Submission #1

parinayc20 opened this issue Aug 18, 2021 · 0 comments

Comments

@parinayc20
Copy link
Owner

parinayc20 commented Aug 18, 2021

This is the modification pertaining to this issue.

The problem can be solved by first trimming all the extra spaces, if any, then tokenizing the given search term wrt spaces. Then we can check wether each of the tokenized word are contained in the student name at hand.

eg- Name = "Tambe Som Vishwas"
Search Term = "Som Tambe"
Words after tokenizing = ["Som","Tambe"]
Thus both the words are contained in the current name hence the name fits the criteria of the search.

Commit is named Search by name modified

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant