Longest substring with equal number of 0s and 1s

552

14.86 
Hashing  String 
lock

Flipkart 
Sum of f(a[i], a[j]) over all pairs in an array of n integers

174

68.39 
Arrays  Hashing  maps 
lock


Convert a sentence into its equivalent mobile numeric keypad sequence

628

27.87 
Hashing  strings 
lock


Find the most frequent digit

928

29.53 
Hashing  Mathematical  strings 
lock


Count pairs Sum in matrices

596

23.15 
Hashing  Matrix  Sorting 
lock


Longest SubArray with Sum K

1522

14.39 
Array  Hashing  map 
lock


Numbers with prime frequencies greater than or equal to k

268

28.36 
Arrays  Hashing 
lock


Most frequent word in an array of strings

1224

37.91 
Array  Hashing  Sorting 
lock

Adobe 
Winner of an election where votes are represented as candidate names

615

43.25 
Hashing  String 
lock

Adobe 
Check if a string is Isogram or not

722

36.84 
Hashing  String 
lock


Tiger Zinda Hai

566

22.26 
Array  Hashing 
lock


The Fibonacciprime number

414

11.84 
Fibonacci Number  Hashing  Prime  String 
lock


Check if array contains contiguous integers with duplicates allowed

5493

34.15 
Array  Hashing  Sorting 
lock

Amazon 
Rearrange an array such that arr[i] = i

927

48.11 
Arrays  Hashing 
lock


NonRepeating Element

1586

48.42 
Array  Hashing  STL 
lock

Snapdeal 
Print K smallest elements in their original order

1221

8.11 
Array  Hashing 
lock


Maximum distinct elements after removing K elements

594

36.53 
Array  Hashing  Heap 
lock


Count subarrays with equal number of 1â€™s and 0â€™s

431

23.9 
Array  Hashing 
lock


Smallest subarray with all occurrences of a most frequent element

172

27.33 
Array  Hashing 
lock


Longest subarray with sum divisible by K

576

20.14 
Array  Hashing 
lock


Distinct Elements in a Stream

415

20.96 
Array  Hashing  Heap 
lock


Joey doesn't share food

79

11.39 
dfs  Hashing 
lock


Morning Assembly

135

17.04 
Hashing 
lock


Completing tasks

533

30.96 
Array  Hashing 
lock


GeeksForGeeks New System

540

33.89 
Hashing  map 
lock


Count number of elements between two given elements in array

1669

28.88 
Array  Hashing 
lock


Count of substrings containing K ones

298

17.45 
Hashing  String 
lock


Frequency of each element in an unsorted array

883

22.88 
Array  Hashing 
lock


Maximum number of characters between any two same character

433

23.09 
Hashing  String 
lock


Sort the string in descending order

1212

19.31 
Hashing  String 
lock


Sum Indexes

464

26.94 
Hashing 
lock


Incomplete Array

431

21.35 
Hashing 
lock


Ana and Sweets

223

42.6 
Hashing 
lock


Numbers containing 1, 2 and 3

7079

12.7 
Array  Hashing  Mathematical 
lock

GoldmanSachs 
Find unique element

1011

41.35 
Array  Hashing 
lock


Difference between highest and lowest occurrence

1250

18.16 
Array  Hashing 
lock


Sort String

1065

42.25 
Hashing  Sorting  String 
lock


Count the characters

2649

21.33 
Hashing  String 
lock

Zoho 
Pairs of Non Coinciding Points

223

23.77 
Hashing  Maths 
lock


String Subsequence Game

568

16.2 
Hashing  String 
lock

Yatra 
Smallest number repeating K times

2325

27.61 
Array  Hashing 
lock


Anagram Palindrome

1349

38.1 
Hashing  palindrome  String 
lock


Maximum possible sum

264

31.06 
Array  Hashing 
lock


Minimum Distinct Ids

1520

23.88 
Hashing  Sorting 
lock

MorganStanley 
Mail System Design

1242

18.36 
doubly linked list  Hashing  LinkedList 
lock


In First But Second

2138

39.57 
Array  Hashing 
lock

Accolite 
Minimum indexed character

2031

49.63 
Hashing  STL  String 
lock

OlaCabs 
Find distinct elements

651

18.13 
Hashing  Sorting 
lock


Sum of length

326

27.3 
Array  Hashing 
lock


Sort by Absolute Difference

2396

33.22 
Array  Hashing 
lock


Swapping pairs make sum equal

1797

35.23 
Array  Hashing 
lock


Check Arithmetic Progression

610

36.56 
Array  Hashing 
lock


Count pair sum

1008

44.05 
Array  Hashing  Sorting  STL 
lock


Find pairs with given relation

374

23.8 
Array  Hashing 
lock


Kth distinct element

434

30.18 
Hashing 
lock


First Come First Serve

371

57.68 
Array  Hashing 
lock


Equivalent SubArrays

176

52.27 
Array  Hashing 
lock


Count the elements

4873

40.65 
Array  Hashing 
lock

Amazon  Yatra 
Sum equals to Sum

3984

42.47 
Array  Hashing 
lock

Amazon 
Group Anagrams Together

2864

44.27 
Hashing  String 
lock

Amazon  Snapdeal 
Uncommon characters

4513

37.14 
Hashing  String 
lock

Amazon 
Array Subset of another array

4862

38.15 
Array  Binary search  Hashing  Searching 
lock

GE  Qualcomm 
First element to occur k times

2170

23.87 
Array  Hashing 
lock


Largest Fibonacci Subsequence

1500

52.8 
Array  fibonacci  Hashing 
lock

Facebook 
Smallest distinct window

4482

28.4 
Array  Hashing  String 
lock

Amazon  Dailyhunt 
Smallest window in a string containing all the characters of another string

4033

25.66 
Hashing  String 
lock

Amazon  MakeMyTrip  Streamoid Technologi 
Zero Sum Subarrays

2889

38.28 
Array  Hashing 
lock

Microsoft 
Rahul and his Villa

320

13.44 
Array  Hashing 
lock


Fake Profile

1291

29.28 
Hashing  String 
lock


Total distance travelled in an array

781

55.44 
Array  Hashing 
lock


Find first repeated character

2891

29.37 
Hashing  String 
lock


Check if frequencies can be equal

2899

14.07 
Hashing  String 
lock


Find all pairs with a given sum

14263

15.59 
Array  Hashing 
lock

Amazon  Facebook 
Recamanâ€™s sequence

626

41.21 
Hashing  Maths  Recursion 
lock


First nonrepeating character in a stream

12632

23.18 
Hashing  LinkedList  Queue 
lock

Amazon  Flipkart  Microsoft  Payu  Yahoo 
Love For The Twins

798

47.12 
Hashing  Maths 
lock


Unique Numbers

1983

40.19 
Hashing 
lock

amazon 
Sherlock a Detective

494

41.7 
Array  Hashing 
lock


Check if two arrays are equal or not

7249

42.53 
Array  Hashing  Sorting 
lock

GoldmanSachs 
Ladoo problem

557

36.09 
Hashing 
lock


Longest K unique characters substring

2474

29.51 
Hashing  map  String 
lock

Google 
Find all four sum numbers

8703

10.88 
Array  Hashing  Sorting 
lock

Amazon  Google  Microsoft 
Tom and String

368

27.17 
Hashing  String 
lock


Demonitisation

614

19.71 
Hashing  String 
lock


Pairs with given XOR

1471

28.76 
BitAlgorithm  Hashing 
lock


Equal 0, 1 and 2

530

40.38 
Hashing  String 
lock


Satisfy the equation

759

16.86 
Hashing 
lock


Find the Odd Occurence

11848

45.72 
Array  BitAlgorithm  Hashing 
lock

Amazon  Snapdeal 
Longest consecutive subsequence

4747

44.81 
Hashing 
lock

Amazon  Walmart labs 
Lucky Number

797

24.34 
Hashing  simplemath 
lock

Epic systems 
A Simple Fraction

5342

16.06 
Hashing  Maths 
lock

Amazon  Microsoft 
Count distinct pairs with difference k

2033

41.61 
Hashing  map 
lock

Facebook 