Skip to content
ExploringBits

ExploringBits

  • Computer science
  • DBMS
  • AI
  • Algo
  • OS
  • More
    • Communication
    • Tech Leader
    • Technology
    • About Us
    • Contact Us
Couting Sort 2 Hackerrank solution

Counting Sort 2 HackerRank Solution in C, C++, Java, Python

Often, when a list is sorted, the elements being sorted are just keys to other values. For example, if you are sorting files by their size, the sizes need to …

Read moreCounting Sort 2 HackerRank Solution in C, C++, Java, Python

Counting Sort 1 Hackerrank solution

Counting Sort 1 HackerRank Solution in C, C++, Java, Python

Comparison Sorting Quicksort usually has a running time of n*log(n), but is there an algorithm that can sort even faster? In general, this is not possible. Most sorting algorithms are …

Read moreCounting Sort 1 HackerRank Solution in C, C++, Java, Python

Funny String Hackerrank solution

Funny String HackerRank Solution in C, C++, Java, Python

In this challenge, you will determine whether a string is funny or not. To determine whether a string is funny, create a copy of the string in reverse e.g.abc->cba . …

Read moreFunny String HackerRank Solution in C, C++, Java, Python

Weighted Uniform Strings Hackerrank solution

Weighted Uniform Strings HackerRank Solution in C, C++, Java, Python

A weighted string is a string of lowercase English letters where each letter has a weight. Character weights are 1 to 26 from a to z as shown below: The …

Read moreWeighted Uniform Strings HackerRank Solution in C, C++, Java, Python

Pangrams Hackerrank solution

Pangrams HackerRank Solution in C, C++, Java, Python

A pangram is a string that contains every letter of the alphabet. Given a sentence determine whether it is a pangram in the English alphabet. Ignore case. Return either pangram …

Read morePangrams HackerRank Solution in C, C++, Java, Python

Quicksort1-Partition Hackerrank solution

Quicksort 1 – Partition HackerRank Solution in C, C++, Java, Python

The previous challenges covered Insertion Sort, which is a simple and intuitive sorting algorithm with a running time of O(n^2). In these next few challenges, we’re covering a divide-and-conquer algorithm …

Read moreQuicksort 1 – Partition HackerRank Solution in C, C++, Java, Python

HackerRank in a String! Hackerrank solution

HackerRank in a String! HackerRank Solution in C, C++, Java, Python

We say that a string contains the word hackerrank if a subsequence of its characters spell the word hackerrank. Remember that a subsequence maintains the order of characters selected from …

Read moreHackerRank in a String! HackerRank Solution in C, C++, Java, Python

Running Time of Algorithms HackerRank Solution

Running Time of Algorithms HackerRank Solution in C, C++, Java, Python

In a previous challenge you implemented the Insertion Sort algorithm. It is a simple sorting algorithm that works well with small or mostly sorted data. However, it takes a long …

Read moreRunning Time of Algorithms HackerRank Solution in C, C++, Java, Python

Mars Exploration HackerRank Solution

Mars Exploration HackerRank Solution in C, C++, Java, Python

A space explorer’s ship crashed on Mars! They send a series of SOS messages to Earth for help. Letters in some of the SOS messages are altered by cosmic radiation …

Read moreMars Exploration HackerRank Solution in C, C++, Java, Python

Caesar Cipher HackerRank Solution

Caesar Cipher HackerRank Solution in C, C++, Java, Python

Julius Caesar protected his confidential information by encrypting it using a cipher. Caesar’s cipher shifts each letter by a number of letters. If the shift takes you past the end …

Read moreCaesar Cipher HackerRank Solution in C, C++, Java, Python

Post navigation
Older posts
Newer posts
← Previous Page1 Page2 Page3 Page4 … Page25 Next →
Follow ExploringBits.com