
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Arnab Chakraborty has Published 4293 Articles

Arnab Chakraborty
154 Views
Here we will see how to find the nth term in Sternβs Diatomic series. The series is like 0, 1, 1, 2, 1, 3, 2, 3, 1, 4, 3, 5, 2, 5, 3, 4, β¦ This is also known as fusc function. This series can be defined as βπ(π)=$p\lgroup\frac{n}{2}\rgroup$ π€βππ ... Read More

Arnab Chakraborty
174 Views
Suppose we have two integers N and D. We have to find a set of N integers, where the difference between their sum and product is the same as D. Suppose the N = 3, and D = 5, then the output will be 1, 2, 8. Here the sum ... Read More

Arnab Chakraborty
235 Views
Suppose we have three values, a, b and x. We have to find one multiple of x, that is nearest to ab. Suppose the numbers are x = 4, a = 3, b = 3, then the output will be 28, as this is nearest to 33 = 27The approach ... Read More

Arnab Chakraborty
311 Views
Suppose we have four integers a, b, c and k. We have to find the minimum positive value x, such that the following equation satisfies βππ₯2+ππ₯+π β₯πIf a = 3, b = 4, c = 5 and k = 6, then output will be 1To solve this, we will use ... Read More

Arnab Chakraborty
737 Views
Suppose we have an array of n elements called A. We have to find the minimum difference between any two elements in that array. Suppose the A = [30, 5, 20, 9], then the result will be 4. this is the minimum distance of elements 5 and 9.To solve this ... Read More

Arnab Chakraborty
450 Views
Suppose, we have one integer N > 0. The task is to find the maximum product of digits among numbers less than or equal to N. If the N is 390, then the result is 216, as the number 389 is making maximum product 3 * 8 * 9 = ... Read More

Arnab Chakraborty
152 Views
Suppose, one binary tree is given. It has positive and negative nodes. We have to find the maximum product at each level of it.Consider this is the tree, so the product of level 0 is 4, product of level 1 is 2 * -5 = -10, and product of level ... Read More

Arnab Chakraborty
2K+ Views
Suppose we have one integer n. Inside that, we can make the one-bit flip to generate the longest sequence of 1s. Suppose the number is 13, so binary representation is 1101. If we make a one-bit flip as make 0 to 1, it will be 1111. This is the longest ... Read More

Arnab Chakraborty
742 Views
Here we will see how to find the length of a linked list using iterative and recursive approaches. If the head pointer is given, we have to follow these steps to get the length.For iterative approach βTake the head of the list, until the current pointer is not null, go ... Read More

Arnab Chakraborty
163 Views
Suppose we have an array of n elements called A. We have another number k. Our task is to find last k digits of the product of elements in the array A. Suppose the A = [15, 22, 13, 19, 17], then the product is 1385670, the last k = ... Read More