
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
970 Views
Suppose we have a digit d, we shall have to convert it into words. So if d = 9, our output should be "Nine". If we provide some d which is beyond the range of 0 and 9, it will return appropriate output.So, if the input is like d = ... Read More

Arnab Chakraborty
315 Views
Suppose we have a number n, we have to transform it into 0 using the following operations any number of times βSelect the rightmost bit in the binary representation of n.Change the ith bit in the binary representation of n when the (i-1)th bit is set to 1 and the ... Read More

Arnab Chakraborty
100 Views
Suppose, there are n number of hostel rooms numbered from 0 to n-1. The students in the hostel rooms want to transfer to another room, and they place several requests to do that. No hostel seat remains vacant, a transfer request is only taken care of if another student takes ... Read More

Arnab Chakraborty
3K+ Views
Suppose we have two numbers a and b, a is integer and b is a float. We shall have to take them from standard input and display the sum.So, if the input is like a = 10 b = 56.23, then the output will be Sum: 66.23To solve this, we ... Read More

Arnab Chakraborty
422 Views
Suppose, we are given a grid where the cells contain various symbols such as 'X', 'O', '*' and '#' and the symbols have various meanings.'#' is the goal cell that we want to reach.'O' is a free cell via which we can travel to the goal cell.'*' is our position ... Read More

Arnab Chakraborty
321 Views
Suppose we have an m x n binary matrix, we can rearrange the columns of the matrix in any order. We have to find the area of the largest submatrix within matrix where every element of the submatrix is 1 after performing some reordering task.So, if the input is like101111001then ... Read More

Arnab Chakraborty
313 Views
Suppose we have a list of numbers nums. We also have a list of queries where queries[i] contains three elements [k, p, r], for each query we shall have to find kpr_sum. The formula for kpr_sum is like below.$$\mathrm{{πππ}\_{π π’π} =\sum_{\substack{π=π}}^{π β1}\sum_{\substack{π=π+1}}^{π }(πΎ β(π΄[π]βπ΄[π]))}$$If the sum is too large, then return sum modulo ... Read More

Arnab Chakraborty
198 Views
Suppose we have three numbers i, j and k and another number n. We shall have to find the list of all triplets (i, j, k) for which i+j+k not same as n. We shall have to solve this problem using list comprehension strategy.So, if the input is like i ... Read More

Arnab Chakraborty
496 Views
Suppose we have an array nums with unique positive values, we have to find the number of tuples (a, b, c, d) such that a*b = c*d where a, b, c, and d are elements of nums, and all elements a, b, c and d are distinct.So, if the input ... Read More

Arnab Chakraborty
1K+ Views
Suppose we have a number n. We shall have to check whether n is weird or not. Here a number is weird when β 1. The number is odd 2. The number is not in range 2 to 5 3. The number is even and in range 6 to 20So, ... Read More