Loading repository dataβ¦
Loading repository dataβ¦
boudhayan / repository
This repository contains 250+ data structures and algorithms solutions from AlgoExpert, LeetCode & HackerRank in Swift π§π»βπ»
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
This repository contains Swift solutions from AlgoExpert, LeetCode, HackerRank, GeekForGeeks, and Pramp.
Suggestions and contributions are welcome.
Problem Link for the original prompt.Solution to view the implementation in this repository.Difficulty, Topic/Pattern, or Problem Link overrides in scripts/readme-metadata.tsv../scripts/update-readme.sh to regenerate all tables (also runs automatically in pre-commit).| Serial No. | Problem | Problem Link | Solution | Difficulty | Topic/Pattern | Notes |
|---|---|---|---|---|---|---|
| 1 | 3D Surface Area | Problem | Solution | _ | _ | _ |
| 2 | Almost Sorted | Problem | Solution | _ | Sorting | _ |
| 3 | Binary Search Trees | Problem | Solution | _ | Tree | _ |
| 4 | Bitwise AND | Problem | Solution |
| _ |
| _ |
| _ |
| 5 | Convert Decimal To Binary | Problem | Solution | _ | _ | _ |
| 6 | Count Pairs | Problem | Solution | _ | _ | _ |
| 7 | Encryption | Problem | Solution | _ | _ | _ |
| 8 | Extra Long Factorials | Problem | Solution | _ | _ | _ |
| 9 | Larry's Array | Problem | Solution | _ | Array | _ |
| 10 | Merge Sort | Problem | Solution | _ | Sorting | _ |
| 11 | Palindrome String | Problem | Solution | _ | String | _ |
| 12 | Reverse String | Problem | Solution | _ | String | _ |
| 13 | Sum of Natural Number | Problem | Solution | _ | Array | _ |
| 14 | Tic Tac Toe Winner | Problem | Solution | _ | _ | _ |
| 15 | Two Strings | Problem | Solution | _ | String | _ |
| Serial No. | Problem | Problem Link | Solution | Difficulty | Topic/Pattern | Notes |
|---|---|---|---|---|---|---|
| 1 | 3 Sum Closest | Problem | Solution | _ | Array | _ |
| 2 | Add Digits | Problem | Solution | _ | _ | _ |
| 3 | Add Strings | Problem | Solution | _ | String | _ |
| 4 | Array Intersection | Problem | Solution | _ | Array | _ |
| 5 | Array Pair Sum | Problem | Solution | _ | Array | _ |
| 6 | Array Rotation | Problem | Solution | _ | Array | _ |
| 7 | Asteroid Collision | Problem | Solution | _ | _ | _ |
| 8 | Best Time to Buy and Sell Stock | Problem | Solution | _ | _ | _ |
| 9 | Binary Search | Problem | Solution | _ | Searching | _ |
| 10 | Bucket Sort | Problem | Solution | _ | Sorting | _ |
| 11 | Build a Matrix With Conditions | Problem | Solution | _ | Matrix | _ |
| 12 | Can Construct | Problem | Solution | _ | _ | _ |
| 13 | Can Make Arithmetic Progression | Problem | Solution | _ | _ | _ |
| 14 | Candy Swap | Problem | Solution | _ | _ | _ |
| 15 | Close Strings | Problem | Solution | _ | String | _ |
| 16 | Concatenation of Array | Problem | Solution | _ | Array | _ |
| 17 | Confusing Number | Problem | Solution | _ | _ | _ |
| 18 | Container With Most Water | Problem | Solution | _ | _ | _ |
| 19 | Contains Duplicate | Problem | Solution | _ | _ | _ |
| 20 | Convert Time Minimum Operations | Problem | Solution | _ | _ | _ |
| 21 | Count And Say | Problem | Solution | _ | _ | _ |
| 22 | Count Negatives | Problem | Solution | _ | _ | _ |
| 23 | Count Pairs | Problem | Solution | _ | _ | _ |
| 24 | Delete Node in a Linked List | Problem | Solution | _ | Linked List | _ |
| 25 | Design HashMap | Problem | Solution | _ | _ | _ |
| 26 | Divide Two Integers | Problem | Solution | _ | _ | _ |
| 27 | Dota2 Senate | Problem | Solution | _ | _ | _ |
| 28 | Encode Decode Strings | Problem | Solution | _ | String | _ |
| 29 | Find All People With Secrets | Problem | Solution | _ | _ | _ |
| 30 | Find Differences String | Problem | Solution | _ | String | _ |
| 31 | Find Peak Element | Problem | Solution | _ | _ | _ |
| 32 | Find Players Zero or One Loses | Problem | Solution | _ | _ | _ |
| 33 | Find kth Largest Element | Problem | Solution | _ | _ | _ |
| 34 | Find the Index of the First Occurrence in a String | Problem | [Solution](https://github.com/boudhayan/Algorithm-Solutions-In-Swift/tree/main/LeetCode/Find%20the%20Index |