原文:Leetcode 387 First Unique Character in a String

Given a string, find the first non repeating character in it and return it s index. If it doesn t exist, return . Examples: Note:You may assume the string contain only lowercase letters. 小写字母 首先这里假设只有 ...

2016-08-27 13:14 0 1532 推荐指数:

查看详情

[LeetCode] 1429. First Unique Number

You have a queue of integers, you need to retrieve the first unique integer in the queue. Implement the FirstUnique class: FirstUnique(int ...

Thu Apr 30 15:31:00 CST 2020 0 698
[LeetCode] Unique Paths

A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). Th ...

Fri Nov 16 05:22:00 CST 2012 0 2894
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM