- Alphabetical Character Weight Calculator
- A lowercase English letter's
1
-indexed distance froma
- For example, the weight of
b
is2
- Implementation
- HackerRank
- A lowercase English letter's
- Balanced Array Sum Identifier
- Given an array A of length n, determine if there exists an element in the array such that the sum of the elements on its left is equal to the sum of the elements on its right.
- Implementation
- HackerRank
- CodeReview
- Beautiful Number Validator
- A numeric string,
s
, is beautiful if it can be split into a sequence of two or more positive integers,a1
,a2
,a3
, etc., satisfying the following conditions- Each element in the sequence is one greater than the previous element
- No element contains a leading zero
- The sequence cannot be rearranged
- For example,
1234
(1
,2
,3
,4
),91011
(9
,10
,11
),99100
(99
,100
) are all beautiful numbers - Implementation
- HackerRank
- CodeReview
- A numeric string,
- Minimum Absolute Difference Identifier
- Given an array of N integers, find and print the minimum absolute difference between any two elements in the array.
- Implementation
- HackerRank
- Pair Difference Counter
- Given
N
integers, count the number of pairs of integers whose difference isK
- Implementation
- HackerRank
- Given
- Unordered Anagrammatic Pairs Counter
- In other words, find the number of unordered pairs of substrings of
S
that are anagrams of each other - Implementation
- HackerRank
- CodeReview
- In other words, find the number of unordered pairs of substrings of
-
Notifications
You must be signed in to change notification settings - Fork 2
Solutions to some of the problems on HackerRank
License
jaebradley/hackerrank
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Solutions to some of the problems on HackerRank
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published