Programming

618 Articles 12 Followers


Extraction of Numbers @ Dcoder

5 Apr 2023 1 minute read 0 comments Lochard $0.03

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...

Finding Nemo @ Dcoder

3 Apr 2023 1 minute read 0 comments Lochard $0.03

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...

Change in Case @ Docder

2 Apr 2023 1 minute read 0 comments Lochard $0.02

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...

Array Sum @ Dcoder

31 Mar 2023 1 minute read 0 comments Lochard $0.03

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...

How to Learn to Code (Basic Guide)

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

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...

What Are the Best Coding Languages to Learn in 2023?

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

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...

Three's Company @ Dcoder

19 Mar 2023 1 minute read 0 comments Lochard $0.03

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...

Degree Celsius @ Dcoder

18 Mar 2023 1 minute read 0 comments Lochard $0.00

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...

Optimising Java Performance: Understanding Thread Pools and Their Benefits

16 Mar 2023 5 minute read 0 comments Corey $0.01

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...

Happy String @ Dcoder

15 Mar 2023 1 minute read 0 comments Lochard $0.04

Problem: A happy string is a string in which each character is lexicographically greater than its next character. You are given a positive integer N as an input. You need to print the smallest lexicographical string possible of length N.NOTE: All cha...