Learn Data Structures And Algorithms With Swift 5.6
Pick up and Master your DSA (Data Structure & Algorithms) more simply with Learn Data Structures And Algorithms With Swift 5.6.

Find this book on amazon: Australia, Brazil, Canada, France, Germany, India, Italy, Japan, Mexico, Netherlands, Spain, United Kingdom, United States.
During my career, I passed interviews at Agoda, Google, Meta, TikTok, etc. I wrote down all my preparation about data structures and algorithms with plenty of interview questions with answers.
For a long time, I wanted to share all the accumulated knowledge that led me to write this book. Suppose you are a student in computer science, a developer who wants to learn more about this topic, or simply an engineer preparing for the following role interview. In that case, this book is made for you.
Data Structure & Algorithms are not that complicated, in University Great professors teach it in a complex way, with a mathematical approach, rather than a more practical way, this is what I want to teach you with this book.
What you will learn or improve:
- Big-O notation
- BASIC SYSTEM DATA STRUCTURES: (Array, Dictionary, String, Set)
- COMPLEX DATA STRUCTURES: (LinkedList, Simple LinkedList, Double LinkedList, Stack, Simple Stack, Linked List Stack, Queues, Simple Queue, Linked List Queue, Graph, Adjacency List, Adjacency Matrix, Graph Object, Binary Tree, Binary Search Tree, AVLTree, Trie, Heap, Priority Queue)
- SORTING ALGORITHMS: (Bubble Sort, Insertion Sort, Selection Sort, Merge Sort, Quick Sort, Heap Sort, Bucket Sort, Radix Sort)
- SEARCH ALGORITHMS: (Linear Search, Binary Search)
- GRAPH TRAVERSALS/THEORY: (BFS: Breadth First Search, DFS: Depth First Search, Dijkstra, Bellman-Ford)
- BIT MANIPULATION: (And, Or, Not, Xor, Shift left, Shift right, Signed Integer, Value Overflow)
- RECURSION VS ITERATION: (Recursion, Iteration)
- DYNAMIC PROGRAMMING: (Memoization, Tabulation, The one to choose)
- 2-POINTERS VS SLIDING WINDOW: (2 Pointers, Fast/Slow, Start/End, Sliding window, Fixed window size, Flexible window size, Comparaison)
- BACKTRACKING
- ALGORITHMS QUESTIONS: (60+ Interview Questions) - 1. All Permutations - 2. Almost Non-Decreasing - 3. Biggest Multiplication of a triplet - 4. Maximum Sum Between Any Two Nodes - 5. Binary Tree Iterator - 6. Find the Words - 7. Valid Parentheses String - 8. Coloring Graph With K Colors - 9. Arithmetic Expression Tree - 10. Deepest Node in a Binary Tree - 11. Delete a Node From a Singly Linked List - 12. Serialize and Deserialize a Binary Tree - 13. The Dutch National Flag Problem - 14. Fizz Buzz - 15. Rectangular Intersection of Two Rectangles - 16. Find the Unique Integer - 17. Time based Hash Map - 18. Multiplication Table - 19. Invert a Binary Tree - 20. Monotonic Array - 21. Palindrome - 22. Binary Subtree - 23. Trip Duration’s Movies - 24. Valid Binary Search Tree (BST) - 25. Largest Binary Search Subtree (BST) - 26. Least Recently Used (LRU) / Least Frequent Used (LFU) - 27. Longest Subsequence - 28. The Longest palindrome - 29. Longest Consecutive Elements Sequence - 30. Lowest Common Ancestor (LCA) - 31. Subset Array Sum - 32. Max Duffel Bag - 33. Maximum Graph Path - 34. Max Stack - 35. Merge Sorted Linked Lists - 36. Merging Overlapping Intervals - 37. Array’s inversions Count - 38. Number of Jumps To Reach the Array’s End - 39. Number Pad (Convert numeric keyboard String) - 40. Palindrome Pairs - 41. Permutation Generator - 42. Rotated Sorted Array - 43. Power Function - 44. Power Set (all possible subsets) - 45. 2 Prime Numbers Target - 46. 2 Stacks Queue - 47. Trapped Water Quantity - 48. Same probability: Random 7 / Random 5 - 49. Build a Binary Tree (from pre-order and in-order traversals) - 50. Remove sorted array duplicates (in-place) - 51. Resolve All Tasks In Order - 52. Reverse a Simple Linked List - 53. Reverse All Words - 54. Shortest Path in Friendship network - 55. Identical Probability Array Shuffling - 56. Strings Distance - 57. Swap Even and Odd bits - 58. Triplets Sum Target - 59. Matrix Path from Top Left to Bottom Right - 60. Same probability From a Biased Coin - 61. Find the only 1 unique from a triplets array
Find this book on amazon: Australia, Brazil, Canada, France, Germany, India, Italy, Japan, Mexico, Netherlands, Spain, United Kingdom, United States.




