Coder Social home page Coder Social logo

krisbobo / hackerrank Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kumbong/hackerrank

1.0 0.0 0.0 814 KB

:computer: :pushpin: solutions and explanations to practice problems (algorithms, data structures, math, tutorials, language proficiency) on hackerrank in python.

License: MIT License

JavaScript 3.45% C++ 34.18% Python 59.05% C 2.60% Java 0.72%

hackerrank's Introduction

<<<<<<< HEAD (Efficient!!) solutions to problems on HackerRank in Python. ======= My (Efficient!!) solutions to problems on HackerRank in Python and other languages . >>>>>>> 23ca07ed92c98673f4a9869fe94036744a487ffb

| hackerrank | algorithms| data structures | mathematics | c | c++ | java | python | ruby | linux shell | functional programming | artificial intelligence | sql | databases | regex | interview preparation kit |30 days of code| 10 days of statistics |10 days of javascript |

Algorithms

# Problem Solution Difficulty Points Sub domain
1 Solve me first Solution Easy 1 Warm up
2 Simple array sum Solution Easy 10 Warm up
3 Compare triplets Solution Easy 10 Warm up
4 A very big sum Solution Easy 10 Warm up
5 Diagonal differnce Solution Easy 10 Warm up
6 Plus Minus Solution Easy 10 Warm up
7 Staircase Solution Easy 10 Warm up
8 Mini-Max-Sum Solution Easy 10 Warm up
9 Birthday Cake Candles Solution Easy 10 Warm up
10 Time conversion Solution Easy 10 Warm up
11 Grading Students Solution Easy 10 Implementation
12 Apple and Orange Solution Easy 10 Implementation
13 Kangaroo Solution Easy 10 Implementation
14 Between two sets Solution Easy 10 Implementation
15 Breaking the records Solution Easy 10 Implementation
16 Birthday chocolate Solution Easy 10 Implementation
17 Divisible Sum pairs Solution Easy 10 Implementation
18 Mini-Max-Sum Solution Easy 10 Implementation
19 Migratory birds Solution Easy 10 Implementation
20 Bon Appetit Solution Easy 10 Implementation
21 Sock merchant Solution Easy 10 Implementation
22 Counting valleys Solution Easy 15 Implementation
23 Electronics shop Solution Easy 15 Implementation
24 Cats and a mouse Solution Easy 15 Implementation
25 Picking numbers Solution Easy 20 Implementation
26 The hurdle race Solution Easy 15 Implementation
27 Designer pdf viewer Solution Easy 20 Implementation
28 Utopian tree Solution Easy 20 Implementation
29 Angry professor Solution Easy 20 Implementation
30 Beautiful days at the movies Solution Easy 15 Implementation
31 Viral advertising Solution Easy 15 Implementation
32 Circular array rotation Solution Easy 20 Implementation
33 Sequence Equation Solution Easy 20 Implementation
34 Find digits Solution Easy 25 Implementation
35 Extra long factorials Solution Medium 20 Implementation
36 Serlock and squares Solution Easy 20 Implementation
37 Cut the sticks Solution Easy 25 Implementation
38 Equalize the array Solution Easy 20 Implementation
39 ACM ICPC Team Solution Easy 25 Implementation
40 Minimum distances Solution Easy 20 Implementation
41 Halloween sale Solution Easy 20 Implementation
42 The time in words Solution Medium 25 Implementation
43 Chocolate feast Solution Easy 25 Implementation
44 Manasa and stones Solution Easy 30 Implementation
45 Strange counter Solution Easy 30 Implementation
46 Super reduced string Solution Easy 10 Strings
47 CamelCase Solution Easy 15 Strings
48 Strong password Solution Easy 15 Strings
49 Caesar cipher Solution Easy 15 Strings
50 Mars exploration Solution Easy 15 Strings
51 HackerRank in a String! Solution Easy 20 Strings
52 Pangrams Solution Easy 20 Strings
53 Funny string Solution Easy 25 Strings
54 Gemstones Solution Easy 20 Strings
55 Alternating characters Solution Easy 20 Strings
56 Beautiful binary string Solution Easy 20 Strings
57 Two strings Solution Easy 25 Strings
57 Sherlock and the valid string Solution Easy 35 Strings
58 Big sorting Solution Easy 20 Sorting
59 Intro to tutorial challenges Solution Easy 30 Sorting
60 Insertion sort - part 1 Solution Easy 30 Sorting
61 Insertion sort - part 2 Solution Easy 30 Sorting
62 Correctness and the loop invariant Solution Easy 30 Sorting
63 Counting sort 1 Solution Easy 30 Sorting
63 Counting sort 2 Solution Easy 30 Sorting
64 Closest numbers Solution Easy 35 Sorting
65 Find the median Solution Easy 35 Sorting
66 Icre cream parlor Solution Easy 30 Search
67 Missing Numbers Solution Easy 45 Search
68 Pairs Solution Medium 50 Search
69 Sherlock and array Solution Easy 40 Search
70 Minimum absolute difference in an array Solution Easy 15 Greedy
71 Priyanka and toys Solution Easy 30 Greedy
72 Mark and toys Solution Easy 35 Greedy
73 Solution Easy Greedy
74 Max Min Solution Medium 35 Greedy
75 Jim and the orders Solution Easy 40 Greedy
76 Permuting two arrays Solution Easy 40 Greedy
77 Fibonacci Modified Solution Medium 45 Dynamic Programming
78 Lonely integer Solution Easy 20 Bit manipulation
79 Maximizing XOR Solution Easy 30 Bit manipulation
80 Flipping bits Solution Easy 40 Bit Manipulation
81 XOR strings Solution Easy 25 Debugging
82 Zig Zag sequence Solution Medium 40 Debugging
83 Smart Number Solution Easy 25 Debugging
84 Save the prisoner! Solution Easy 15 Implementation
85 Service lane Solution Easy 20 Implementation
86 Day of the Programmer Solution Easy 15 Implementation
87 Drawing Book Solution Easy 10 Implementation
88 Jumping on the clouds revisited Solution Easy 15 Implementation
89 Library Fine Solution Easy 15 Implementation
90 Marc's Cakewalk Solution Easy 15 Implementation
91 Repeated String Solution Easy 20 Implementation
92 Game of Thrones -I Solution Easy 30 Implementation
93 Running Time of Algorithms Solution Easy 30 Implementation
94 Flatland Space Stations Solution Easy 25 Implementation
95 Modified Kaprekar Numbers Solution Easy 30 Implementation
96 Append and Delete Solution Easy 20 Implementation
97 Jumping on the Clouds Solution Easy 20 Implementation
98 Taum and B'day Solution Easy 25 Implementation
99 Beautiful triplets Solution Easy 20 Implementation
100 The love letter mystery Solution Easy 20 Strings
101 Anagrams Solution Easy 25 Strings
102 Making anagrams Solution Easy 30 Strings
103 Grid Challenge Solution Easy 20 Greedy
104 Counter Game Solution Medium 30 Bit Manipulation
105 Cavity Map Solution Easy 30 Implementation
106 Prime Dates Solution Meidum 40 Debugging
107 Encryption Solution Meidum 30 Implementation
108 Matrix Layer Rotation Solution Hard 80 Implementation
109 Lisa's Workbook Solution Easy 25 Implementation
110 Luck Balance Solution Easy 20 Greedy
111 String Construction Solution Easy 25 Strings
112 Quicksort 1 - Partition Solution Easy 10 Sorting
113 Sherlock and The Beast Solution Easy 30 Greedy
114 Maximum Perimeter triangle Solution Easy 20 Greedy
115 Climbing the Leaderboard Solution Medium 20 Implementation
116 Largest Permutation Solution Easy 30 Greedy
117 Absolute Permutation Solution Medium 40 Implementation

Python

# Problem Solution Difficulty Points Sub domain
1 Say "Hello, World!" With Python Solution Easy 5 Introduction
2 If-else Solution Easy 10 Introduction
3 arithmetic operators Solution Easy 10 Introduction
4 Division Solution Easy 10 Introduction
5 Loops Solution Easy 10 Introduction
6 Write a function Solution Medium 10 Introduction
7 Print function Solution Easy 20 Introduction
8 List comprehensions Solution Easy 10 Basic data types
9 Find the runner-up score! Solution Easy 10 Basic data types
10 Nested lists Solution Easy 10 Basic data types
11 Find the percentage Solution Easy 10 Basic data types
12 Lists Solution Easy 10 Basic data types
13 Tuples Solution Easy 10 Basic data types
14 sWAP cASE Solution Easy 10 Strings
15 String split and join Solution Easy 10 Strings
16 What's your name? Solution Easy 10 Strings
17 mutations Solution Easy 10 Strings
18 Find a string Solution Easy 10 Strings
19 String validators Solution Easy 10 Strings
20 Capitalize! Solution Easy 20 Strings
21 Introduction to sets Solution Easy 10 Sets
22 No Idea! Solution Medium 50 Sets
23 Symmetric difference Solution Easy 10 Sets
24 .add() Solution Easy 10 Sets
25 .discard(), .remove() & .pop() Solution Easy 10 Sets
26 .union() operation Solution Easy 10 Sets
27 .intersection() operation Solution Easy 10 Sets
28 .difference() operation Solution Easy 10 Sets
29 Set mutations Solution Easy 10 Sets
30 .symmetric_difference() operation Solution Easy 20 Sets
31 Check subset Solution Easy 10 Sets
32 Check strict superset Solution Easy 10 Sets

C++

# Problem Solution Difficulty Points Sub domain
1 Say "Hello, World!" With C++ Solution Easy 5 Introduction
2 Input and Output Solution Easy 5 Introduction
3 Basic Data Types Solution Easy 10 Introduction
4 Conditional Statements Solution Easy 10 Introduction
5 For Loop Solution Easy 10 Introduction
6 Functions Solution Easy 10 Introduction
7 Pointer Solution Easy 10 Introduction
8 Arrays Introduction Solution Easy 10 Introduction
9 Variable Sized Arrays Solution Easy 30 Introduction
10 Strings Solution Easy 10 Strings
11 StringStream Solution Easy 10 Strings
12 Class Solution Easy 10 Classes
13 Structs Solution Easy 10 Classes
14 Classes and objects Solution Easy 20 Classes
15 Box It! Solution Easy 30 Classes
16 Inherited Code Solution Medium 30 Classes
17 Exceptional Server Solution Medium 30 Classes
18 Virtual Functions Solution Medium 40 Classes
19 Vector-Sort Solution Easy 10 STL
20 Vector-Erase Solution Easy 10 STL

C

# Problem Solution Difficulty Points Sub domain
1 Say "Hello, World!" in c Solution Easy 5 Introduction
2 Sum and difference of two numbers Solution Easy 5 Introduction
3 Functions in C Solution Easy 10 Introduction
4 Conditional Statements Solution Easy 10 Introduction
5 Pointers in C Solution Easy 10 Introduction

Contributing

If you are interested in helping or have a solution in a different language feel free to make a pull request. You can also reach me on through the following media if you want to talk.

hackerrank's People

Contributors

bismarckbamfo avatar kudom-e avatar kumbong avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.