- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Sunidhi Bansal has Published 1101 Articles
Sunidhi Bansal
157 Views
Input three strings and replace each string with a character which user has entered and then display edited strings. After that, concatenate edited strings and display them.Input: string 1 : tutorials replacement character for string 1 : x String 2 : points replacement character for string 2 : ... Read More
Sunidhi Bansal
156 Views
Input number of elements user want to enters and than input the total value user want to calculate from the given list of elements.Input : N=5 Enter any 5 values : 3 1 6 5 7 Enter sum you want to check : 10 Output : 3 1 ... Read More
Sunidhi Bansal
159 Views
It will display the missing values from the given set entered by the userGiven : array = {88, 105, 3, 2, 200, 0, 10}; Output : 1 4-9 11-87 89-99AlgorithmSTART STEP 1-> Take an array with elements, bool flag[MAX] to Fale, int i, j, n to size of array Step ... Read More
Sunidhi Bansal
2K+ Views
Given two sorted arrays and output should display their uncommon elementsGiven : array1[]= {1, 4, 6, 9, 12} array2[]= {2, 4, 7, 8, 9, 10} Output : 1 2 6 7 8 10 12AlgorithmSTART Step 1 -> declare two arrays array1 and array2 with elements as int and variables ... Read More
Sunidhi Bansal
117 Views
Input N which is equivalent to the number till where series should be printedInput : N=5 Output : 0 ¼ ½ ¾ 1AlgorithmSTART Step 1 -> declare start variables as int num , den, i, n Step 2 -> input number in n Step 3 -> Loop For from i ... Read More
Sunidhi Bansal
2K+ Views
Input number n till which prime numbers are calculated and displayed in reverse orderInput : number 30 Output : 29 23 19 17 13 11 7 5 3 2AlgorithmSTART Step 1 -> declare variables as n, I, j, flag to 0 as int Step 2 -> input number in n ... Read More
Sunidhi Bansal
397 Views
Given with an array of int elements, the task is to arrange the elements in descending order and finding their occurrences.Input : arr[]={1, 1, 1, 2, 2, 2, 3, 3, 4, 5, 6, 7, 7} Output : 7 occurs: 2 6 occurs: 1 5 occurs: 1 4 ... Read More
Sunidhi Bansal
260 Views
Given a 2d array of n*n and the task is to find the antispiral arrangement of the given matrixInput : arr[4][4]={1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 13, 14, 15, 16} Output: 10 11 7 6 5 9 13 14 15 16 ... Read More
Sunidhi Bansal
288 Views
Given a 2d array of n*n and the task is to find the antispiral arrangement of the given matrixInput : arr[4][4]={1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 13, 14, 15, 16} Output : 1 6 11 16 4 7 10 13AlgorithmSTART Step ... Read More
Sunidhi Bansal
526 Views
Here, the task is to print those number in an array having 1, 2 and 3 as digits in their numbers and if their is no such number than the output must be -1Input : arr[] = {320, 123, 124, 125, 14532, 126, 340, 123400, 100032, 13, 32, 3123, 1100} ... Read More