Home
Jobs
Tools
Coding Ground
Current Affairs
UPSC Notes
Online Tutors
Whiteboard
Net Meeting
Tutorix
Categories
Java
JSP
iOS
HTML
Android
Python
C Programming
C++ Programming
C#
PHP
CSS
Javascript
jQuery
SAP
SAP HANA
Data Structure
RDBMS
MySQL
Mathematics
8085 Microprocessor
Operating System
Digital Electronics
Analysis of Algorithms
Mobile Development
Front End
Web Development
Selenium
MongoDB
Computer Network
General Topics
Library
Videos
Q/A
eBooks
Library
Videos
eBooks
Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
Android
Python
C Programming
C++
C#
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
1081
Answers
Permutations in Python
Python
Server Side Programming
Programming
Arnab Chakraborty
Published on 30-Jan-2020 10:56:42
Suppose we have a collection of distinct integers; we have to find all possible permutations. So if the array is like [2, 1, 3], then the result will be [[1, 2, 3], [1, 3, 2], [2, 1, 3], [2, 3, 1], [3, 1, 2], [3, 2, 1]]To solve this, we ...
Read More
Multiply Strings in C++
Python
Server Side Programming
Programming
Arnab Chakraborty
Published on 30-Jan-2020 10:54:38
Suppose we have two numbers as string. We have to multiply them and return the result also in string. So if the numbers are “26” and “12”, then the result will be “312”To solve this, we will follow these stepsTaking two arguments x and y it indicates x divides yif ...
Read More
Valid Sudoku in Python
Python
Server Side Programming
Programming
Arnab Chakraborty
Published on 30-Jan-2020 10:53:23
Suppose we have one 9x9 Sudoku board. We have to check whether that is valid or now. Only the filled cells need to be validated according to the following rulesEach row must contain the digits from 1-9 without repetition.Each column must contain the digits from 1-9 without repetition.Each of the ...
Read More
Find First and Last Position of Element in Sorted Array in Python
Python
Server Side Programming
Programming
Arnab Chakraborty
Published on 30-Jan-2020 10:50:43
Suppose we have an array of integers A. This is sorted in ascending order, we have to find the starting and ending position of a given target value. When the target is not found in the array, return [-1, -1]. So if the array is like [2, 2, 2, 3, ...
Read More
Search in Rotated Sorted Array in Python
Python
Server Side Programming
Programming
Arnab Chakraborty
Published on 30-Jan-2020 10:48:14
Consider we have an array sorted in ascending order, and that is rotated at some pivot unknown to you beforehand. For example, [0, 1, 2, 4, 5, 6, 7] might become [4, 5, 6, 7, 0, 1, 2]. We have given a target value to search. If we can get ...
Read More
Divide Two Integers in C++
C++
Server Side Programming
Programming
Arnab Chakraborty
Published on 30-Jan-2020 10:45:36
Suppose we have two integers dividend and divisor. We have to divide two integers without using multiplication, division and mod operator. Return the quotient after dividing dividend by divisor. The integer division should truncate toward zero. Both of the inputs are integersSo if the given inputs are dividend = 7, ...
Read More
Swap Nodes in Pairs in C++
C++
Server Side Programming
Programming
Arnab Chakraborty
Published on 30-Jan-2020 10:44:03
Consider we have a linked list. We have to swap every two adjacent nodes and return its head. The constraint is that, we cannot modify the value of the nodes, only the node itself can be changed. So if the list is like [1, 2, 3, 4], then the resultant ...
Read More
Generate Parentheses in Python
Python
Server Side Programming
Programming
Arnab Chakraborty
Published on 30-Jan-2020 10:42:27
Suppose we have a value n. We have to generate all possible well-formed parentheses where n number of opening and closing parentheses are present. So if the value of n = 3, then the parentheses set will be ["()()()", "()(())", "(())()", "(()())", "((()))"]To solve this, we will follow these stepsDefine ...
Read More
Remove Nth Node From End of List in Python
Python
Server Side Programming
Programming
Arnab Chakraborty
Published on 30-Jan-2020 10:28:21
Suppose we have a linked list. We have to remove the Nth node from the end of the list, then return its head. So if the list is like [1, 2, 3, 4, 5, 6] and n = 3, then the returned list will be [1, 2, 3, 5, 6].To ...
Read More
4Sum in C++
C++
Server Side Programming
Programming
Arnab Chakraborty
Published on 30-Jan-2020 10:25:51
Suppose we have an array of numbers. It stores n integers, there are four elements a, b, c and d in the array. We have another target value, such that a + b + c + d = target. Find all unique quadruplets in the array which satisfies the situation. ...
Read More
1
2
3
4
5
6
7
...
109
Next
Advertisements