How to Encrypt Words in Java
The challenge
You want to create secret messages which must be deciphered.
Here are the conditions:
- Your message is a string containing space …
342 articles about java development, tools, and best practices
You want to create secret messages which must be deciphered.
Here are the conditions:
In this challenge, you have to write a method that folds a given array of integers by the middle x-times.
An example says more than a …
Read Article →Given a list lst and a number N, create a new list that contains each number of lst at most N times without reordering. For example if N …
Read Article →Write a function that accepts a string, and returns true if it is in the form of a phone number.
Assume that any integer from 0-9 in any …
Sort elements in an array by decreasing frequency of elements. If two elements have the same frequency, sort them by increasing value. …
Read Article →Write a function that receives two strings and returns n, where n is equal to the number of characters we should shift the first string …
Read Article →Compare two strings by comparing the sum of their values (ASCII character code).
null …Given two integers a, b, find The sum of them, BUT You are not allowed to use the operators + and –
Count how many arguments a method is called with.
Examples
args_count(1, 2, 3) -> 3
args_count(1, 2, 3, 10) -> 4
You are given a list/array which contains only integers (positive and negative). Your job is to sum only the numbers that are the same …
Read Article →You are given a string. You must replace any occurrence of the sequence coverage by covfefe, however, if you don’t find the word …
Your task is to write a function toLeetSpeak that converts a regular english sentence to Leetspeak.
More about LeetSpeak You can read at …
Read Article →