lccn_predictor icon indicating copy to clipboard operation
lccn_predictor copied to clipboard

Searching for a name without exact capitalization doesnt show results

Open 21Cash opened this issue 11 months ago • 3 comments

In the contest page, i tried searching "21cash" (with Capital C) and i got nothing found but after i searched "21Cash" (With capital C) i got my result shown to me.

21Cash avatar Mar 03 '24 10:03 21Cash

if ignore case is allowed, it will be great @baoliay2008 had same issue few months ago

manoharreddyporeddy avatar Mar 04 '24 01:03 manoharreddyporeddy

@21Cash @manoharreddyporeddy Thanks for your advice. I will implement this functionality.

baoliay2008 avatar Mar 04 '24 02:03 baoliay2008

@ashuthe1, I believe you are mistaken. When a new user signs up:

1)Filling out the form:

The user must provide a unique username, which is then assigned as their LeetCode ID in the backend. The user can later change their name but not their LeetCode ID.

Even with different case sensitivity, I was not able to create an account. This means if a user already exists with a LeetCode ID/username like "rajkan888", no new user can create an account with similar usernames like "Rajkan888", "rajKAN888", "RAJKAN888", etc. Note: Do not confuse the username field during registration with the user's name.

2)Google sign-up:

LeetCode automatically uses the initial letters of your email as your username. For example, if the email is "[email protected]", the LeetCode ID might be "samsharma768".

@baoliay2008 i will surely create a PR to help you out

Raj-kansagra avatar Jun 02 '24 10:06 Raj-kansagra