Searching Algorithm - (Q&A -9) - First non repeating character in a string.

preview_player
Показать описание
Given a string, find the first non-repeating character in it. For example, if the input string is “HelloHi”, then the output should be ‘e’ and if the input string is “technical interview”, then the output should be 'h’.

This problem is very popular for any technical interview.

*****************************
Difficulty: Medium
Topic: Searching Algorithm
DS: String | Hashmap | Linkedhashmap
Company: FAANG
*****************************

[IMPORTANT]

In this video we will see, how to find the first non repeating character in a string.

**This video comes under "MEDIUM" section of interview questions.
Q1: Find duplicate element in a given array:
Q2: Separate odds and even numbers in a given array:
Q3: Segregate 0's 1's and 2's in an array:
Q4: First occurrence of a number in a sorted array:
Q5: Trapping Rain Water Problem:
Q6:Smallest Missing Number in sorted array:
Q7: Zero Sum Subarray Problem:
Q8: Number of rotation in a circular sorted array:
Q9:First non repeating character in a string:
Q10: Longest Substring Without Repeating Characters:
Q11: Find Triplets In Array With Given Sum:
Q12: Max Contiguous Subarray Sum ( Kadane's Algo ):

#interviewWithBunny #codinginterview #crackingthetechnicalinterview

Additional Tags:
first non-repeating character in a stream of characters interviewbit
first non-repeating character in a stream using queue
first non-repeating character
find first non repeating character in string
first non repeating character in a stream leetcode
first non repeating character java
first non repeating character python
first non repeating character stream
first non repeating character js
first non repeating character in a string java
first non repeating character in a string python
Рекомендации по теме