Get unlimited access
Open in app
Home
Notifications
Lists
Stories

Write
Aanchal Patial
Aanchal Patial

May 5, 2020

·
1 min read

Day 5 of 31-Day May LeetCode Challenge

Given a string, find the first non-repeating character in it and return it’s index. If it doesn’t exist, return -1.

--

--

More from Aanchal Patial

We never really grow up, we only learn how to act in public

Love podcasts or audiobooks? Learn on the go with our new app.

Try Knowable

Recommended from Medium

Matteo Lo Piccolo

Matteo Lo Piccolo

GameDev : PowerUp!!

John W. Long

John W. Long

in

32pixels

The designer’s guide to the OSX command prompt

Al-Waleed Shihadeh

Al-Waleed Shihadeh

in

Better Programming

Startups and the Production Readiness Process

Amanda M Johnson

Amanda M Johnson

in

Dev Genius

Closures

Stalin Kay

Stalin Kay

What I learned from making iPhone and Mac apps

Swift code in Xcode for one of my apps
Madhavan Nagarajan

Madhavan Nagarajan

Concurrency vs. Parallelism: A brief view

Nazar Khimin

Nazar Khimin

FATA #14/ Big Data in Workflow

Simplify Complexity

Simplify Complexity

Why ORM Model use the ID field

AboutHelpTermsPrivacy


Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Aanchal Patial

Aanchal Patial

We never really grow up, we only learn how to act in public

More from Medium

stevecaoleetcodes

stevecaoleetcodes

3–Longest Substring Without Repeating Characters

DSA With TheAbbie

DSA With TheAbbie

Valid Parenthesis String

Tushar Sharma

Tushar Sharma

Rotting Oranges [Leetcode 994]

Saima Chaity

Saima Chaity

Leetcode — 1891. Cutting Ribbons

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable