Programming

620 Articles 12 Followers

What the future of Artificial Intelligence is according to Chat GPT

What the future of Artificial Intelligence is according to Chat GPT In todays interesting article I'm having Chat GPT write about it's own kind. That is Chat GPT will be writing about what the future of artificial intelligence is and what are its ben...

Jack216 3 minute read 19 Apr 2023 1 comment $0.07

The Largest Gap @ Dcoder

Problem: Cody's teacher taught him the concept of arrays. She gave different types of homework for all the students so they won't able to copy. Cody has to find the largest gap between any two elements in the array. As Cody has a date with his girlfr...

Lochard 1 minute read 17 Apr 2023 0 comments $0.05

Ceil and Floor @ Dcoder

Problem: In mathematics and computer science, the floor and ceiling functions map a real number to the largest previous and the smallest following integer, respectively. consider a number x. ceil(x) : Returns the smallest integer that is greater than...

Lochard 1 minute read 16 Apr 2023 0 comments $0.06

The Homework @ Dcoder

Problem: As the students were not focusing much on the lecture. The professor became very angry and decided to give a homework to all the students. So some of the students started trying to convince the professor not to do so. So the professor gives...

Lochard 1 minute read 15 Apr 2023 0 comments $0.02

Least Significant Bit @ Dcoder

Title: Least Significant Bit Problem: In mathematics and digital electronics, a binary number is a number expressed in the base-2 numeric system or binary numeric system, which uses only two symbols: typically 0 (zero) and 1 (one). The least signific...

Lochard 1 minute read 14 Apr 2023 0 comments $0.03

Text Editor @ Dcoder

Problem: John has created a text editor, which has lots of features but he forgot to add the conversion of Lowercase alphabet to an Uppercase Alphabet. He asks you for help to complete this task for him. Input: The first line of input consists of sin...

Lochard 1 minute read 13 Apr 2023 0 comments $0.03

Valid Quadrilateral @ Dcoder

Problem: John loves gardening. He believes that for good growth of the plant, the land should be quadrilateral. Given angles of 4 sides of the land. Find whether the land is a valid quadrilateral or not. A quadrilateral is valid if the sum of all fou...

Lochard 1 minute read 12 Apr 2023 0 comments $0.01

Archie and his Homework @ Dcoder

Problem: Archie was given a homework by his teacher. He is given a fraction and he needs to write it in its reduced form. Archie is not good at Maths. Help Archie finish his homework. Input: 2 integers separated by space denoting the numerator and de...

Lochard 1 minute read 11 Apr 2023 0 comments $0.01

Numbered Triangle @ Dcoder

Title: Numbered Triangle Problem: You need to print this pattern upto N. For N = 4, 1 1 2 1 2 3 1 2 3 4 Input: A single positive integer N. Output: Numbered Triangle upto N. Do not leave trailing whitespaces at the end of each line. Constraints: 1 ≤...

Lochard 1 minute read 10 Apr 2023 0 comments $0.01

Special Array @ Dcoder

Problem: Natural numbers are the set of positive integers, which ranges from 1 to infinity excluding fractional part. Natural numbers are whole numbers excluding zero. Zero is the only whole number which is not a natural number. An array is special i...

Lochard 1 minute read 9 Apr 2023 0 comments $0.01