Skip to content

Centre Selection example #28

Locked Answered by sushrut111
0x6900 asked this question in Q&A
Discussion options

You must be logged in to vote

Take an example of these centers

I would try find unique words from these. Also I am fine with anything in pincode 411037

So I would set

Also know that,

  • the comma separated strings are considered as separate preferences and they are trimmed and converted to lowercase
  • address of each center = lowercase ( name of center + address + pincode)
  • now these center preferences are checked against the address to see if any of them exists as the address' substring.
  • if yes, the first match is selected to be booked if slots > [min availability specified by user]

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sushrut111
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants