Longest substring with equal number of 0s and 1s

397

16.37 
Hashing  String 
lock

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

143

62.94 
Arrays  Hashing  maps 
lock


Convert a sentence into its equivalent mobile numeric keypad sequence

576

26.91 
Hashing  strings 
lock


Find the most frequent digit

805

28.57 
Hashing  Mathematical  strings 
lock


Count pairs Sum in matrices

529

22.5 
Hashing  Matrix  Sorting 
lock


Longest SubArray with Sum K

1354

12.7 
Array  Hashing  map 
lock


Numbers with prime frequencies greater than or equal to k

239

28.87 
Arrays  Hashing 
lock


Most frequent word in an array of strings

969

39.83 
Array  Hashing  Sorting 
lock

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

501

42.51 
Hashing  String 
lock

Adobe 
Check if a string is Isogram or not

580

36.03 
Hashing  String 
lock


Tiger Zinda Hai

510

22.55 
Array  Hashing 
lock


The Fibonacciprime number

357

12.04 
Fibonacci Number  Hashing  Prime  String 
lock


Check if array contains contiguous integers with duplicates allowed

4730

33.89 
Array  Hashing  Sorting 
lock

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

848

47.05 
Arrays  Hashing 
lock


NonRepeating Element

1397

49.03 
Array  Hashing  STL 
lock

Snapdeal 
Print K smallest elements in their original order

1122

8.2 
Array  Hashing 
lock


Maximum distinct elements after removing K elements

533

36.4 
Array  Hashing  Heap 
lock


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

392

21.94 
Array  Hashing 
lock


Smallest subarray with all occurrences of a most frequent element

168

26.19 
Array  Hashing 
lock


Longest subarray with sum divisible by K

523

19.12 
Array  Hashing 
lock


Distinct Elements in a Stream

358

20.95 
Array  Hashing  Heap 
lock


Joey doesn't share food

76

7.89 
dfs  Hashing 
lock


Morning Assembly

135

17.04 
Hashing 
lock


Completing tasks

527

30.36 
Array  Hashing 
lock


GeeksForGeeks New System

529

33.65 
Hashing  map 
lock


Count number of elements between two given elements in array

1619

29.09 
Array  Hashing 
lock


Count of substrings containing K ones

282

16.31 
Hashing  String 
lock


Frequency of each element in an unsorted array

843

22.78 
Array  Hashing 
lock


Maximum number of characters between any two same character

409

22.74 
Hashing  String 
lock


Sort the string in descending order

1190

18.66 
Hashing  String 
lock


Sum Indexes

461

26.46 
Hashing 
lock


Incomplete Array

398

22.11 
Hashing 
lock


Ana and Sweets

218

42.2 
Hashing 
lock


Numbers containing 1, 2 and 3

6446

12.61 
Array  Hashing  Mathematical 
lock

GoldmanSachs 
Find unique element

986

41.08 
Array  Hashing 
lock


Difference between highest and lowest occurrence

1212

17.99 
Array  Hashing 
lock


Sort String

1043

41.13 
Hashing  Sorting  String 
lock


Count the characters

2394

21.09 
Hashing  String 
lock

Zoho 
Pairs of Non Coinciding Points

195

25.64 
Hashing  Maths 
lock


String Subsequence Game

556

16.01 
Hashing  String 
lock

Yatra 
Smallest number repeating K times

2294

27.59 
Array  Hashing 
lock


Anagram Palindrome

1291

37.96 
Hashing  palindrome  String 
lock


Maximum possible sum

259

30.89 
Array  Hashing 
lock


Minimum Distinct Ids

1441

23.87 
Hashing  Sorting 
lock

MorganStanley 
Mail System Design

1122

18.36 
doubly linked list  Hashing  LinkedList 
lock


In First But Second

2088

39.18 
Array  Hashing 
lock

Accolite 
Minimum indexed character

1924

50 
Hashing  STL  String 
lock

OlaCabs 
Find distinct elements

638

17.87 
Hashing  Sorting 
lock


Sum of length

294

26.19 
Array  Hashing 
lock


Sort by Absolute Difference

2158

34.01 
Array  Hashing 
lock


Swapping pairs make sum equal

1711

35.18 
Array  Hashing 
lock


Check Arithmetic Progression

609

36.45 
Array  Hashing 
lock


Count pair sum

997

43.93 
Array  Hashing  Sorting  STL 
lock


Find pairs with given relation

362

24.03 
Array  Hashing 
lock


Kth distinct element

427

29.74 
Hashing 
lock


First Come First Serve

355

56.9 
Array  Hashing 
lock


Equivalent SubArrays

165

52.12 
Array  Hashing 
lock


Count the elements

4766

40.45 
Array  Hashing 
lock

Amazon  Yatra 
Sum equals to Sum

3869

42.13 
Array  Hashing 
lock

Amazon 
Group Anagrams Together

2785

44.06 
Hashing  String 
lock

Amazon  Snapdeal 
Uncommon characters

4407

36.87 
Hashing  String 
lock

Amazon 
Array Subset of another array

4499

38.28 
Array  Binary search  Hashing  Searching 
lock

GE  Qualcomm 
First element to occur k times

2102

23.03 
Array  Hashing 
lock


Largest Fibonacci Subsequence

1456

52.13 
Array  fibonacci  Hashing 
lock

Facebook 
Smallest distinct window

4338

28.22 
Array  Hashing  String 
lock

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

3842

25.46 
Hashing  String 
lock

Amazon  MakeMyTrip  Streamoid Technologi 
Zero Sum Subarrays

2790

37.78 
Array  Hashing 
lock

Microsoft 
Rahul and his Villa

314

13.38 
Array  Hashing 
lock


Fake Profile

1269

29.47 
Hashing  String 
lock


Total distance travelled in an array

773

54.98 
Array  Hashing 
lock


Find first repeated character

2818

28.71 
Hashing  String 
lock


Check if frequencies can be equal

2722

13.59 
Hashing  String 
lock


Find all pairs with a given sum

13741

14.97 
Array  Hashing 
lock

Amazon  Facebook 
Recamanâ€™s sequence

599

41.74 
Hashing  Maths  Recursion 
lock


First nonrepeating character in a stream

12135

23.91 
Hashing  LinkedList  Queue 
lock

Amazon  Flipkart  Microsoft  Payu  Yahoo 
Love For The Twins

793

46.91 
Hashing  Maths 
lock


Unique Numbers

1953

40.04 
Hashing 
lock

amazon 
Sherlock a Detective

487

41.48 
Array  Hashing 
lock


Check if two arrays are equal or not

7032

42.22 
Array  Hashing  Sorting 
lock

GoldmanSachs 
Ladoo problem

552

35.69 
Hashing 
lock


Longest K unique characters substring

2361

29.35 
Hashing  map  String 
lock

Google 
Find all four sum numbers

8421

10.89 
Array  Hashing  Sorting 
lock

Amazon  Google  Microsoft 
Tom and String

367

26.98 
Hashing  String 
lock


Demonitisation

614

19.71 
Hashing  String 
lock


Pairs with given XOR

1458

28.53 
BitAlgorithm  Hashing 
lock


Equal 0, 1 and 2

497

42.25 
Hashing  String 
lock


Satisfy the equation

739

17.19 
Hashing 
lock


Find the Odd Occurence

11663

45.47 
Array  BitAlgorithm  Hashing 
lock

Amazon  Snapdeal 
Longest consecutive subsequence

4538

44.62 
Hashing 
lock

Amazon  Walmart labs 
Lucky Number

784

24.49 
Hashing  simplemath 
lock

Epic systems 
A Simple Fraction

5212

16.04 
Hashing  Maths 
lock

Amazon  Microsoft 
Count distinct pairs with difference k

1959

41.7 
Hashing  map 
lock

Facebook 