## iOS Interview - Leetcode 347. Top K Frequent Elements

August 05, 2024 • ☕️ 2 min readSolving Leetcode Problem 347. Top K Frequent Elements

Solving Leetcode Problem 347. Top K Frequent Elements

Solving Leetcode Problem 102. Binary Tree Level Order Traversal

Solving Leetcode 15. 3 Sum

Solving Leetcode Problem 3. Longest Substring Without Repeating Characters

Solving Leetcode Problem 973. K Closest Points to Origin

Solving Leetcode Problem 542. 01 Matrix

Solving Leetcode Problem 57. Insert Interval

Solving Leetcode Problem 53. Maximum Subarray

Solving Leetcode Problem 217. Contains Duplicate

Solving Leetcode Problem 104. Maximum Depth of Binary Tree

Solving Leetcode Problem 876. Middle of the Linked List

Solving Leetcode Problem 543. Diameter of Binary Tree

Solving Leetcode Problem 67. Add Binary

Solving Leetcode Problem 169. Majority Element

Solving Leetcode Problem 206. Reverse Linked List

Solving Leetcode Problem 409. Longest Palindrome

Solving Leetcode Problem 70. Climbing Stairs

Solving Leetcode Problem 41. First Missing Positive

Solving Leetcode Problem 278. First Bad Version

Solving Leetcode Problem 383. Ransom Note

Solving Leetcode Problem 232. Implement Queue using Stacks

Solving Leetcode Problem 141. Linked List Cycle

Solving Leetcode Problem 110. Balanced Binary Tree in Swift

Solving Leetcode Problem 235. Lowest Common Ancestor of a Binary Search Tree

Solving Leetcode Problem 733. Flood Fill

Solving Leetcode Problem 704. Binary Search

Solving Leetcode Problem 242. Valid Anagram

Solving Leetcode Problem 121. Best Time to Buy and Sell Stock

Solving Leetcode Problem 226. Invert Binary Tree

Solving Leetcode Problem 21. Merge Two Sorted Lists

Solving Leetcode Problem 4: Median of Two Sorted Arrays

Solving Leetcode 14. Longest Common Prefix

Solving Leetcode Problem 20: Valid Parentheses

Solving Leetcode Problem 7: Reverse Integer

Solving Leetcode Problem 9: Palindrome Number in Swift

Understand the Queue data structure to solve leetcode problems

Understand the Stack data structure to solve leetcode problems

Understand the Binary Search Pattern to solve leetcode problems

Understand the Hash Tables Pattern to solve leetcode problems

Understand the Dynamic Programming Pattern to solve leetcode problems

Understand the Breadth-First Search Pattern to solve leetcode problems

Understand the Depth-First Search Pattern to solve leetcode problems

Understand the two pointers technique to solve leetcode problems

Understand the sliding window pattern to solve leetcode problems