This is a Google OA question — don’t miss this opportunity
Summary
This post compiles a list of LeetCode problems that I have collected from recent online assessments (OA), which are useful for interview preparation.
Full Experience
Numbered List with Problem Names
These questions were collected from students who recently attended online assessments (OA).
LeetCode 92 – Reverse Linked List II
https://leetcode.com/problems/reverse-linked-list-ii/solutions/7494415/leetcode-92-reverse-linked-list-ii-simpl-7ovqLeetCode 82 – Remove Duplicates from Sorted List II
https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii/solutions/7494419/leetcode-82-remove-duplicates-from-sorte-f0qtLeetCode 230 – Kth Smallest Element in a BST
https://leetcode.com/problems/kth-smallest-element-in-a-bst/solutions/7257854/leetcode-230-easy-to-understand-c-soluti-lqiwLeetCode 1266 – Minimum Time Visiting All Points
https://leetcode.com/problems/minimum-time-visiting-all-points/solutions/7489572/leetcode-1266-minimum-time-visiting-all-u5yyxLeetCode 147 – Insertion Sort List
https://leetcode.com/problems/insertion-sort-list/solutions/7493328/leetcode-147-insertion-sort-list-simple-exb7gLeetCode 226 – Invert Binary Tree
https://leetcode.com/problems/invert-binary-tree/solutions/6646546/recursive-tree-inversion-in-c-explained-eehpsLeetCode 3461 – Check If Digits Are Equal in String After Operations I
https://leetcode.com/problems/check-if-digits-are-equal-in-string-after-operations-i/solutions/7298018/leetcode-3461-check-if-digits-are-equal-h4amhLeetCode 2129 – Capitalize the Title
https://leetcode.com/problems/capitalize-the-title/solutions/7491145/leetcode-2129-capitalize-the-title-by-ra-g7bsLeetCode 1342 – Number of Steps to Reduce a Number to Zero
https://leetcode.com/problems/number-of-steps-to-reduce-a-number-to-zero/solutions/7159008/number-of-steps-to-reduce-a-number-to-ze-u7sxLeetCode 230 – Kth Smallest Element in a BST (Alternate Solution)
https://leetcode.com/problems/kth-smallest-element-in-a-bst/solutions/7257822/leetcode-230-kth-smallest-element-in-a-b-vk0xLeetCode 3075 – Maximize Happiness of Selected Children
https://leetcode.com/problems/maximize-happiness-of-selected-children/solutions/7437268/3075-on-log-n-greedy-solution-c-java-pyt-sxsiInterview Questions (11)
Reverse Linked List II
Remove Duplicates from Sorted List II
Remove Duplicates from Sorted List II
Kth Smallest Element in a BST
Kth Smallest Element in a BST
Minimum Time Visiting All Points
Insertion Sort List
Insertion Sort List
Invert Binary Tree
Invert Binary Tree
Check If Digits Are Equal in String After Operations I
Capitalize the Title
Capitalize the Title
Number of Steps to Reduce a Number to Zero
Number of Steps to Reduce a Number to Zero
Kth Smallest Element in a BST
Maximize Happiness of Selected Children
Maximize Happiness of Selected Children