LeetCode Problems for LinkedIn

LeetCode Problems for LinkedIn

The popular professional networking website LinkedIn follows similar culture as Microsoft as it is also owned by Microsoft Corporation. The company itself provides a lot of benefits to its employees. As a result, software engineers are attracted by its diversified culture and environment. So, in this post, we’ve gathered some frequent LeetCode problems for LinkedIn. Practice these problems to improve your problem-solving skills.

IDTitleAcceptanceDifficultyFrequency
244Shortest Word Distance II52.3%Medium6.080030
364Nested List Weight Sum II62.8%Medium5.858903
170Two Sum III – Data structure design33.5%Easy5.339976
339Nested List Weight Sum74.0%Easy4.821050
272Closest Binary Search Tree Value II50.5%Hard4.698660
156Binary Tree Upside Down55.0%Medium4.677621
716Max Stack42.6%Easy4.158695
254Factor Combinations46.7%Medium4.042679
243Shortest Word Distance61.0%Easy4.033402
366Find Leaves of Binary Tree70.6%Medium3.887404
256Paint House52.1%Easy3.830168
265Paint House II44.6%Hard3.643918
149Max Points on a Line16.9%Hard3.593946
65Valid Number15.3%Hard3.485942
605Can Place Flowers31.6%Easy3.393038
380Insert Delete GetRandom O(1)47.5%Medium3.226132
432All O`one Data Structure32.4%Hard3.182278
68Text Justification27.7%Hard3.168342
341Flatten Nested List Iterator52.9%Medium2.856040
150Evaluate Reverse Polish Notation36.3%Medium2.745764
205Isomorphic Strings39.8%Easy2.668779
245Shortest Word Distance III55.3%Medium2.480477
297Serialize and Deserialize Binary Tree47.5%Hard2.420873
261Graph Valid Tree42.2%Medium2.361420
611Valid Triangle Number48.4%Medium2.316616
730Count Different Palindromic Subsequences41.8%Hard2.300829
53Maximum Subarray46.5%Easy2.234231
187Repeated DNA Sequences38.9%Medium2.103432
698Partition to K Equal Sum Subsets45.0%Medium2.018875
152Maximum Product Subarray31.7%Medium2.012330
72Edit Distance44.8%Hard1.770347
200Number of Islands46.8%Medium1.748639
277Find the Celebrity41.8%Medium1.675341
56Merge Intervals39.3%Medium1.660437
516Longest Palindromic Subsequence53.2%Medium1.628362
671Second Minimum Node In a Binary Tree42.7%Easy1.603715
76Minimum Window Substring34.6%Hard1.590634
464Can I Win28.8%Medium1.506328
236Lowest Common Ancestor of a Binary Tree45.7%Medium1.491728
12Integer to Roman55.1%Medium1.487855
373Find K Pairs with Smallest Sums36.7%Medium1.439888
235Lowest Common Ancestor of a Binary Search Tree49.9%Easy1.420061
102Binary Tree Level Order Traversal54.6%Medium1.402656
381Insert Delete GetRandom O(1) – Duplicates allowed34.1%Hard1.401537
1Two Sum45.6%Easy1.399890
50Pow(x;n)30.3%Medium1.295878
33Search in Rotated Sorted Array34.5%Medium1.237393
20Valid Parentheses39.0%Easy1.233368
273Integer to English Words27.1%Hard1.218542
34Find First and Last Position of Element in Sorted Array36.2%Medium1.209184
127Word Ladder29.6%Medium1.187953
57Insert Interval33.5%Hard1.173026
636Exclusive Time of Functions51.9%Medium1.139200
384Shuffle an Array52.8%Medium0.991100
1117Building H2O52.6%Medium0.982960
69Sqrt(x)33.9%Easy0.942541
146LRU Cache33.2%Medium0.913867
46Permutations63.5%Medium0.894485
655Print Binary Tree55.0%Medium0.894220
13Roman to Integer55.7%Easy0.893396
744Find Smallest Letter Greater Than Target45.4%Easy0.853961
215Kth Largest Element in an Array55.4%Medium0.756126
449Serialize and Deserialize BST52.0%Medium0.748110
715Range Module38.5%Hard0.747214
296Best Meeting Point57.5%Hard0.726702
1188Design Bounded Blocking Queue70.5%Medium0.717626
460LFU Cache34.2%Hard0.668474
126Word Ladder II22.1%Hard0.636415
160Intersection of Two Linked Lists40.6%Easy0.604515
101Symmetric Tree46.8%Easy0.598625
879Profitable Schemes39.8%Hard0.556067
47Permutations II46.4%Medium0.531985
104Maximum Depth of Binary Tree66.0%Easy0.513251
706Design HashMap61.3%Easy0.492623
412Fizz Buzz62.3%Easy0.459021
311Sparse Matrix Multiplication61.9%Medium0.450323
8String to Integer (atoi)15.4%Medium0.407141
739Daily Temperatures63.3%Medium0.401508
323Number of Connected Components in an Undirected Graph56.0%Medium0.329842
367Valid Perfect Square41.7%Easy0.320374
61Rotate List30.0%Medium0.306824
349Intersection of Two Arrays62.5%Easy0.304950
23Merge k Sorted Lists40.2%Hard0.284301
547Friend Circles58.6%Medium0.268191
450Delete Node in a BST43.1%Medium0.261860
470Implement Rand10() Using Rand7()46.3%Medium0.255346
173Binary Search Tree Iterator56.6%Medium0.229432
796Rotate String49.6%Easy0.220264
528Random Pick with Weight43.9%Medium0.214363
322Coin Change35.5%Medium0.204682
40Combination Sum II48.2%Medium0.178061
88Merge Sorted Array39.4%Easy0.176425
721Accounts Merge48.8%Medium0.158363
155Min Stack44.5%Easy0.158171
1148Article Views I75.8%Easy0.154415
39Combination Sum56.1%Medium0.133925
428Serialize and Deserialize N-ary Tree59.4%Hard0.133135
54Spiral Matrix34.1%Medium0.125727
1042Flower Planting With No Adjacent48.5%Easy0.125457
21Merge Two Sorted Lists53.5%Easy0.119556
75Sort Colors47.3%Medium0.117894
103Binary Tree Zigzag Level Order Traversal48.3%Medium0.116485
451Sort Characters By Frequency63.0%Medium0.112583
973K Closest Points to Origin63.8%Medium0.110875
198House Robber42.0%Easy0.107851
1028Recover a Tree From Preorder Traversal69.9%Hard0.107341
238Product of Array Except Self60.1%Medium0.093903
833Find And Replace in String50.4%Medium0.087519
100Same Tree53.4%Easy0.086338
350Intersection of Two Arrays II51.4%Easy0.080273
133Clone Graph34.8%Medium0.070951
270Closest Binary Search Tree Value48.5%Easy0.066802
98Validate Binary Search Tree27.8%Medium0.057985
362Design Hit Counter63.7%Medium0.056229
981Time Based Key-Value Store53.1%Medium0.049406
121Best Time to Buy and Sell Stock50.5%Easy0.042154
647Palindromic Substrings60.6%Medium0.040968
141Linked List Cycle41.1%Easy0.031012
240Search a 2D Matrix II43.2%Medium0.029992
692Top K Frequent Words51.8%Medium0.029730
987Vertical Order Traversal of a Binary Tree36.6%Medium0.025915
387First Unique Character in a String53.4%Easy0.025876
785Is Graph Bipartite?47.5%Medium0.025105
70Climbing Stairs47.8%Easy0.023866
113Path Sum II46.7%Medium0.021882
359Logger Rate Limiter70.8%Easy0.021053
207Course Schedule43.1%Medium0.019709
347Top K Frequent Elements61.2%Medium0.018049
79Word Search35.6%Medium0.014883
142Linked List Cycle II37.3%Medium0.014710
560Subarray Sum Equals K43.9%Medium0.009603
279Perfect Squares47.4%Medium0.009216
125Valid Palindrome36.7%Easy0.008933
515Find Largest Value in Each Tree Row61.1%Medium0
633Sum of Square Numbers32.2%Easy0
946Validate Stack Sequences61.9%Medium0
1107New Users Daily Count45.1%Medium0
1127User Purchase Platform48.9%Hard0
1149Article Views II48.2%Medium0
1343Number of Sub-arrays of Size K and Average Greater than or Equal to Threshold64.2%Medium0

Leave a Reply