Objective Java’s BigDecimal class can handle arbitrary-precision signed decimal numbers. Let’s test your knowledge of them! Given an array, ...
Read More
Showing posts with label Java. Show all posts
Showing posts with label Java. Show all posts
Valid Username Regular Expression – Hacker Rank Solution
Objective You are updating the username policy on your company’s internal networking platform. According to the policy, a username is consid...
Read More
Java Regex 2 – Hacker Rank Solution
Problem : In this challenge, we use regular expressions (RegEx) to remove instances of words that are repeated more than once, but retain th...
Read More
Java Regex – Hacker Rank Solution
Problem : Write a class called MyRegex which will contain a string pattern. You need to write a regular expression and assign it to the pa...
Read More
Java String Tokens – Hacker Rank Solution
Problem : Given a string,8 , matching the regular expression [A-Za-z !,?._'@]+ , split the string into tokens . We define a token to b...
Read More
Java Anagrams – Hacker Rank Solution
Problem : Two strings, a and b, are called anagrams if they contain all the same characters in the same frequencies. For this challenge, the...
Read More
Subscribe to:
Posts (Atom)