Longest substring with equal number of 0s and 1s

715

14.83 
Hash  Strings 
lock

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

270

67.41 
Arrays  Hash  Map 
lock


Convert a sentence into its equivalent mobile numeric keypad sequence

698

26.93 
Hash  Strings 
lock


Find the most frequent digit

1018

29.57 
Hash  Mathematical  Strings 
lock


Count pairs Sum in matrices

760

20.53 
Hash  Matrix  Sorting 
lock


Longest SubArray with Sum K

1658

15.32 
Arrays  Hash  Map 
lock


Numbers with prime frequencies greater than or equal to k

337

26.41 
Arrays  Hash 
lock


Most frequent word in an array of strings

1458

38.48 
Arrays  Hash  Sorting 
lock

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

760

43.82 
Hash  Strings 
lock

Adobe 
Check if a string is Isogram or not

834

38.13 
Hash  Strings 
lock


Tiger Zinda Hai

598

22.74 
Arrays  Hash 
lock


The Fibonacciprime number

449

11.36 
Fibonacci  Hash  Prime Number  Strings 
lock


Check if array contains contiguous integers with duplicates allowed

6138

35.03 
Arrays  Hash  Sorting 
lock

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

988

48.79 
Arrays  Hash 
lock


NonRepeating Element

1705

48.68 
Arrays  Hash  STL 
lock

Snapdeal 
Print K smallest elements in their original order

1292

8.13 
Arrays  Hash 
lock


Maximum distinct elements after removing K elements

636

37.11 
Arrays  Hash  Heap 
lock


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

487

22.38 
Arrays  Hash 
lock


Smallest subarray with all occurrences of a most frequent element

174

27.01 
Arrays  Hash 
lock


Longest subarray with sum divisible by K

658

19.15 
Arrays  Hash 
lock


Distinct Elements in a Stream

461

21.69 
Arrays  Hash  Heap 
lock


Joey doesn't share food

80

12.5 
DFS  Hash 
lock


Morning Assembly

135

17.04 
Hash 
lock


Completing tasks

539

30.98 
Arrays  Hash 
lock


GeeksForGeeks New System

555

33.51 
Hash  Map 
lock


Count number of elements between two given elements in array

1708

29.39 
Arrays  Hash 
lock


Count of substrings containing K ones

303

17.49 
Hash  Strings 
lock


Frequency of each element in an unsorted array

948

22.89 
Arrays  Hash 
lock


Maximum number of characters between any two same character

462

22.08 
Hash  Strings 
lock


Sort the string in descending order

1257

19.97 
Hash  Strings 
lock


Sum Indexes

482

26.76 
Hash 
lock


Incomplete Array

460

21.09 
Hash 
lock


Ana and Sweets

230

43.04 
Hash 
lock


Numbers containing 1, 2 and 3

7860

12.94 
Arrays  Hash  Mathematical 
lock

Goldman Sachs 
Find unique element

1041

41.4 
Arrays  Hash 
lock


Difference between highest and lowest occurrence

1304

18.02 
Arrays  Hash 
lock


Sort String

1101

42.87 
Hash  Sorting  Strings 
lock


Count the characters

2775

21.69 
Hash  Strings 
lock

Zoho 
Pairs of Non Coinciding Points

230

23.91 
Hash  Mathematical 
lock


String Subsequence Game

591

16.75 
Hash  Strings 
lock

Yatra.com 
Smallest number repeating K times

2341

27.64 
Arrays  Hash 
lock


Anagram Palindrome

1443

38.18 
Hash  palindrome  Strings 
lock


Maximum possible sum

264

31.06 
Arrays  Hash 
lock


Minimum Distinct Ids

1683

24.24 
Hash  Sorting 
lock

Morgan Stanley 
Mail System Design

1383

18.15 
Hash  Linked List 
lock


In First But Second

2194

39.61 
Arrays  Hash 
lock

Accolite 
Minimum indexed character

2155

50.26 
Hash  STL  Strings 
lock

Ola Cabs 
Find distinct elements

691

17.95 
Hash  Sorting 
lock


Sum of length

346

28.32 
Arrays  Hash 
lock


Sort by Absolute Difference

2679

32.96 
Arrays  Hash 
lock


Swapping pairs make sum equal

1881

35.73 
Arrays  Hash 
lock


Check Arithmetic Progression

620

37.1 
Arrays  Hash 
lock


Count pair sum

1028

44.75 
Arrays  Hash  Sorting  STL 
lock


Find pairs with given relation

382

23.56 
Arrays  Hash 
lock


Kth distinct element

442

30.32 
Hash 
lock


First Come First Serve

410

54.88 
Arrays  Hash 
lock


Equivalent SubArrays

185

51.89 
Arrays  Hash 
lock


Count the elements

5113

40.45 
Arrays  Hash 
lock

Amazon  Yatra.com 
Sum equals to Sum

4155

42.55 
Arrays  Hash 
lock

Amazon 
Group Anagrams Together

3015

44.84 
Hash  Strings 
lock

Amazon  Snapdeal 
Uncommon characters

4704

37.31 
Hash  Strings 
lock

Amazon 
Array Subset of another array

5287

37.77 
Arrays  Binary Search  Hash  Searching 
lock

GE  Qualcomm 
First element to occur k times

2248

23.84 
Arrays  Hash 
lock


Largest Fibonacci Subsequence

1567

53.1 
Arrays  Fibonacci  Hash 
lock

Facebook 
Smallest distinct window

4606

29.01 
Arrays  Hash  Strings 
lock

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

4273

25.81 
Hash  Strings 
lock

Amazon  MakeMyTrip  Streamoid Technologies 
Zero Sum Subarrays

3063

38.46 
Arrays  Hash 
lock

Microsoft 
Rahul and his Villa

320

13.44 
Arrays  Hash 
lock


Fake Profile

1299

29.25 
Hash  Strings 
lock


Total distance travelled in an array

795

55.97 
Arrays  Hash 
lock


Find first repeated character

3050

29.87 
Hash  Strings 
lock


Check if frequencies can be equal

3081

13.99 
Hash  Strings 
lock


Find all pairs with a given sum

14966

16.4 
Arrays  Hash 
lock

Amazon  Facebook 
Recamanâ€™s sequence

648

41.2 
Hash  Mathematical  Recursion 
lock


First nonrepeating character in a stream

13466

23.9 
Hash  Linked List  Queue 
lock

Amazon  Flipkart  Microsoft  Payu  Yahoo 
Love For The Twins

808

47.4 
Hash  Mathematical 
lock


Unique Numbers

2029

40.81 
Hash 
lock

Amazon 
Sherlock a Detective

495

41.62 
Arrays  Hash 
lock


Check if two arrays are equal or not

7663

42.62 
Arrays  Hash  Sorting 
lock

Goldman Sachs 
Ladoo problem

560

36.43 
Hash 
lock


Longest K unique characters substring

2618

29.26 
Hash  Map  Strings 
lock

Google 
Find all four sum numbers

9352

10.75 
Arrays  Hash  Sorting 
lock

Amazon  Google  Microsoft 
Tom and String

375

26.93 
Hash  Strings 
lock


Demonitisation

614

19.71 
Hash  Strings 
lock


Pairs with given XOR

1478

28.82 
Bit Magic  Hash 
lock


Equal 0, 1 and 2

532

40.6 
Hash  Strings 
lock


Satisfy the equation

759

16.86 
Hash 
lock


Find the Odd Occurence

12211

46 
Arrays  Bit Magic  Hash 
lock

Amazon  Snapdeal 
Longest consecutive subsequence

4965

44.91 
Hash 
lock

Amazon  Walmart Labs 
Lucky Number

834

23.86 
Hash  Mathematical 
lock

Epic Systems 
A Simple Fraction

5443

16.13 
Hash  Mathematical 
lock

Amazon  Microsoft 
Count distinct pairs with difference k

2107

41.48 
Hash  Map 
lock

Facebook 