Skip to content

HackerRank solutions written in Swift and a little bit in Java πŸ––

License

Notifications You must be signed in to change notification settings

aleksandar-dinic/HackerRank-Solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

83 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

HackerRank logo Swift logo



Buy Me A Coffee

Problem Solving - Algorithms

Subdomain: Warmup
# Title Max Score Solution Difficulty
1 Solve Me First 1 Solution.swift πŸ’š Easy
2 Simple Array Sum 10 Solution.swift πŸ’š Easy
3 Compare the Triplets 10 Solution.swift πŸ’š Easy
4 A Very Big Sum 10 Solution.swift πŸ’š Easy
5 Diagonal Difference 10 Solution.swift πŸ’š Easy
6 Plus Minus 10 Solution.swift πŸ’š Easy
7 Staircase 10 Solution.swift πŸ’š Easy
8 Mini-Max Sum 10 Solution.swift πŸ’š Easy
9 Birthday Cake Candles 10 Solution.swift πŸ’š Easy
10 Time Conversion 15 Solution.swift πŸ’š Easy
Subdomain: Implementation
# Title Max Score Solution Difficulty
1 Grading Students 10 Solution.swift πŸ’š Easy
2 Apple and Orange 10 Solution.swift πŸ’š Easy
3 Number Line Jumps 10 Solution.swift πŸ’š Easy
4 Between Two Sets 10 Solution.swift πŸ’š Easy
5 Breaking the Records 10 Solution.swift πŸ’š Easy
6 Subarray Division 10 Solution.swift πŸ’š Easy
7 Divisible Sum Pairs 10 Solution.swift πŸ’š Easy
8 Migratory Birds 10 Solution.swift πŸ’š Easy
9 Day of the Programmer 15 Solution.swift πŸ’š Easy
10 Bill Division 10 Solution.swift πŸ’š Easy
11 Sales by Match 10 Solution.swift πŸ’š Easy
12 Drawing Book 10 Solution.swift πŸ’š Easy
13 Counting Valleys 15 Solution.swift πŸ’š Easy
14 Electronics Shop 15 Solution.swift πŸ’š Easy
15 Cats and a Mouse 15 Solution.swift πŸ’š Easy
16 Forming a Magic Square 20 Solution.swift πŸ’› Medium
17 Picking Numbers 20 Solution.swift πŸ’š Easy
18 Climbing the Leaderboard 20 Solution.swift πŸ’› Medium
19 The Hurdle Race 15 Solution.swift πŸ’š Easy
20 Designer PDF Viewer 20 Solution.swift πŸ’š Easy
21 Utopian Tree 20 Solution.swift πŸ’š Easy
22 Angry Professor 20 Solution.swift πŸ’š Easy
23 Beautiful Days at the Movies 15 Solution.swift πŸ’š Easy
24 Viral Advertising 15 Solution.swift πŸ’š Easy
25 Save the Prisoner! 15 Solution.swift πŸ’š Easy
26 Circular Array Rotation 20 Solution.swift πŸ’š Easy
27 Sequence Equation 20 Solution.swift πŸ’š Easy

Problem Solving - Data Structures

Subdomain: Arrays
# Title Max Score Solution Difficulty
1 Arrays - DS 10 Solution.swift πŸ’š Easy
2 2D Array - DS 15 Solution.swift πŸ’š Easy
3 Dynamic Array 15 Solution.swift πŸ’š Easy
4 Left Rotation 20 Solution.swift πŸ’š Easy
5 Sparse Arrays 25 Solution.swift πŸ’› Medium
6 Array Manipulation 60 Solution.swift ❀️ Hard
Subdomain: Linked Lists
# Title Max Score Solution Difficulty
1 Print the Elements of a Linked List 5 Solution.java πŸ’š Easy

30 Days of Code

# Title Max Score Solution Difficulty
1 Day 0: Hello, World. 30 Solution.swift πŸ’š Easy
2 Day 1: Data Types 30 Solution.swift πŸ’š Easy
3 Day 2: Operators 30 Solution.swift πŸ’š Easy
4 Day 3: Intro to Conditional Statements 30 Solution.swift πŸ’š Easy
5 Day 4: Class vs. Instance 30 Solution.swift πŸ’š Easy
6 Day 5: Loops 30 Solution.swift πŸ’š Easy
7 Day 6: Let's Review 30 Solution.swift πŸ’š Easy
8 Day 7: Arrays 30 Solution.swift πŸ’š Easy
9 Day 8: Dictionaries and Maps 30 Solution.swift πŸ’š Easy
10 Day 9: Recursion 3 30 Solution.swift πŸ’š Easy
11 Day 10: Binary Numbers 30 Solution.swift πŸ’š Easy
12 Day 11: 2D Arrays 30 Solution.swift πŸ’š Easy
13 Day 12: Inheritance 30 Solution.swift πŸ’š Easy
14 Day 13: Abstract Classes 30 Solution.java πŸ’š Easy
15 Day 14: Scope 30 Solution.swift πŸ’š Easy
16 Day 15: Linked List 30 Solution.swift πŸ’š Easy
17 Day 16: Exceptions - String to Integer 30 Solution.swift πŸ’š Easy
18 Day 17: More Exceptions 30 Solution.swift πŸ’š Easy
19 Day 18: Queues and Stacks 30 Solution.swift πŸ’š Easy
20 Day 19: Interfaces 30 Solution.java πŸ’š Easy
21 Day 20: Sorting 30 Solution.swift πŸ’š Easy
22 Day 21: Generics 30 Solution.swift πŸ’š Easy
23 Day 22: Binary Search Trees 30 Solution.swift πŸ’š Easy
24 Day 23: BST Level-Order Traversal 30 Solution.swift πŸ’š Easy
25 Day 24: More Linked Lists 30 Solution.swift πŸ’š Easy
26 Day 25: Running Time and Complexity 30 Solution.swift πŸ’› Medium
27 Day 26: Nested Logic 30 Solution.swift πŸ’š Easy
28 Day 27: Testing 30 Solution.java πŸ’š Easy
29 Day 28: RegEx, Patterns, and Intro to Databases 30 Solution.swift πŸ’› Medium
30 Day 29: Bitwise AND 30 Solution.swift πŸ’› Medium