

SDE Sheet - Minimum indexed character
source link: https://www.geeksforgeeks.org/videos/sde-sheet-minimum-indexed-character/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Minimum indexed character
This is a part of String section under GFG SDE Sheet.
In this video, we are given, a string str and another string patt. Find the minimum index of the character in str that is also present in patt.
Example :
Input:
str = geeksforgeeks
patt = set
Output: 1
Explanation: e is the character which is present in given str "geeksforgeeks" and is also present in patt "set". Minimum index of e is 1.
Try it out before watching the implementation of the problem in the video. We recommend watching the video, even if you can solve the problem. You may discover something new. All the best!!!
Do check out:-
Article: https://www.geeksforgeeks.org/find-character-first-string-present-minimum-index-second-string/
Problem: https://www.geeksforgeeks.org/problems/minimum-indexed-character-1587115620/1
SDE Sheet Link: https://www.geeksforgeeks.org/sde-sheet-a-complete-guide-for-sde-preparation/
Recommend
-
6
Improve Article Generate an array of minimum sum whose XOR of same-indexed elements with given array are Prime NumbersLast Updated : 15 Apr, 2021Given an
-
9
Leaders in an ArrayLeaders in an Array | SDE Sheet | ArraysVideo Player is loading.Loaded: 0%Remaining Time -0:0070 Views
-
5
Equilibrium pointEquilibrium point | SDE Sheet | ArraysVideo Player is loading.Loaded: 0%Remaining Time -0:00360 Views
-
8
Sort an array of 0s, 1s and 2sSort an array of 0s, 1s and 2s | SDE Sheet | ArrayVideo Player is loading.Loaded: 0%Remaining Time -0:00
-
6
Reverse array in groupsReverse array in groups | SDE Sheet | ArraysVideo Player is loading.Loaded: 0%Remaining Time -0:00120...
-
6
Missing number in arrayMissing number in array | SDE Sheet | ArraysVideo Player is loading.Loaded: 0%Remaining Time -0:0012/...
-
8
Kadane’s AlgorithmKadane’s Algorithm | SDE Sheet | ArraysVideo Player is loading.Loaded: 0%Remaining Time -0:00460 Views
-
12
Subarray with given sumSubarray with given sum | SDE Sheet | ArraysVideo Player is loading.Loaded: 0%Remaining Time -9:28280...
-
9
Minimum PlatformsMinimum Platforms | SDE Sheet |ArraysHi. In this video, we will learn howLoaded: 0.68%00:01Remaining Ti...
-
8
Minimum SwapsCoursesDSA to DevelopmentFo...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK