Programming

620 Articles 12 Followers

Pangram @ Dcoder

Problem: A word or a sentence is called a pangram if all the characters of this language appear in it at least once, either in lowercase or in uppercase. You are given a string S consisting of lowercase and uppercase English letters. If the string is...

Lochard 1 minute read 6 Apr 2023 0 comments $0.06

Extraction of Numbers @ Dcoder

Problem: Ron is schizophrenic and sees random digits hidden in words. He thinks it means something and someone is trying to secretly communicate with him. He wants to extract those digits from the words and see if they form a message. Harry really wa...

Lochard 1 minute read 5 Apr 2023 0 comments $0.02

Finding Nemo @ Dcoder

Problem: Nemo is a little kid in Word-World who always gets mixed in a group of other words and gets lost. Marlin and Coral (Nemo's parents) are quite desperate and called you for help every time Nemo got lost. You helped for the first few times but...

Lochard 1 minute read 3 Apr 2023 0 comments $0.03

Change in Case @ Docder

Problem: You will be given a single string and two positive integers denoting indices. You need to change the case of the characters at those indices,i.e change uppercase to lowercase and lowercase to uppercase. It is guaranteed that all characters i...

Lochard 1 minute read 2 Apr 2023 0 comments $0.01

Array Sum @ Dcoder

Problem: You are given an integer array and you have to find the sum of the elements of the array and find the remainder when the sum is divided by the largest number of the array. Input: First line contains N, the number of elements. Next line conta...

Lochard 1 minute read 31 Mar 2023 0 comments $0.02

How to Learn to Code (Basic Guide)

Coding is a practical and valuable skill to have under your belt, especially with the emergence of new technology. If you want to learn, it can be tricky to figure out how to start.  In this piece, we talk about how to learn to code, how long it tak...

MintDice.com 4 minute read 28 Mar 2023 2 comments $0.38

What Are the Best Coding Languages to Learn in 2023?

In the digital age, coding has become an essential skill that is highly sought after by employers. From software development to data analysis and beyond, coding is a skill that can open up many job opportunities in various industries. If you're wond...

MintDice.com 4 minute read 23 Mar 2023 2 comments $0.05

Three's Company @ Dcoder

Problem: This problem requires you to create a output string from input string such that for every character in input string, there are three same characters in output string. Input: First line contains N, the number of letters in the string. The nex...

Lochard 1 minute read 19 Mar 2023 0 comments $0.02

Degree Celsius @ Dcoder

Problem: Tom is a scientist. He uses huge machines for complex calculations. There is a problem, the machines takes input as Fahrenheit and Tom has the temperatures in Degree Celsius. As he is busy with his work, he asks your help to convert Degree C...

Lochard 1 minute read 18 Mar 2023 0 comments $0.00

Optimising Java Performance: Understanding Thread Pools and Their Benefits

One of the most effective, and efficient ways to implement multi-threading in Java is through the use of thread pools.   What are thread pools and how do they work? In simple terms, a thread pool is a group of pre-initialised threads that can...

Corey 5 minute read 16 Mar 2023 0 comments $0.01