×
Home
Jobs
Tools
Coding Ground
Current Affairs
UPSC Notes
Online Tutors
Whiteboard
Net Meeting
Tutorix
Login
Packages
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
Login
Library
Videos
eBooks
Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
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
3296
Answers
Biggest Reuleaux Triangle inscirbed within a square inscribed in a semicircle?
C
Server Side Programming
Programming
Arnab Chakraborty
Published on 01-Aug-2019 11:29:36
Here we will see the area of biggest Reuleax triangle inscribed within a square which is inscribed in a semicircle. Suppose the radius of the semicircle is R, are side of the square is ‘a’ and the height of the Reuleax triangle is h.We know that the side of the ...
Read More
Array with GCD of any of its subset belongs to the given array?
C
Server Side Programming
Programming
Arnab Chakraborty
Published on 01-Aug-2019 11:25:29
Here we will see one interesting problem. There is a set of N elements. We have to generate an array such that the GCD of any subset of that array lies in the given set of elements. And another constraint is that the generated array should not be more than ...
Read More
Array sum after dividing numbers from previous?
C
Server Side Programming
Programming
Arnab Chakraborty
Published on 01-Aug-2019 11:23:31
Here we will see one interesting problem. We will take one array, then find the sum by taking each element after dividing it by the previous elements. Let us consider an array is {5, 6, 7, 2, 1, 4}. Then the result will be 5 + (6 / 5) + ...
Read More
Array elements with prime frequencies?
C
Server Side Programming
Programming
Arnab Chakraborty
Published on 01-Aug-2019 11:19:15
Suppose we have one array. we have to count how many of the elements present in the array prime number of times. So if the array is {1, 2, 2, 0, 1, 5, 2, 5, 0, 0, 1, 1}, then 1 is present 4 times, 2 is present 3 times, ...
Read More
Array elements that appear more than once?
C
Server Side Programming
Programming
Arnab Chakraborty
Published on 01-Aug-2019 11:17:09
Here we will see one problem. We have one array. our task is to find those elements whose frequencies are more than 1. Suppose the elements are {1, 5, 2, 5, 3, 1, 5, 2, 7}. Here 1 has occurred 2 times, 5 has occurred 3 times and 2 has ...
Read More
Array element with minimum sum of absolute differences?
C
Server Side Programming
Programming
Arnab Chakraborty
Published on 01-Aug-2019 11:15:23
Here we will see one interesting problem. We are taking one array ‘a’ with N elements. We have to find an element x such that |a[0] - x| + |a[1] - x|+ … + |a[n-1] - x| is minimized. Then we have to find the minimized sum.Let the array is: ...
Read More
Array element moved by k using single moves?
C
Server Side Programming
Programming
Arnab Chakraborty
Published on 01-Aug-2019 11:11:30
Suppose we have an array that has n elements from 1 to n in shuffled order. Another integer K is given. There are N peoples they are standing in a queue to play badminton. The first two players will go for playing, then the loser will go and place at ...
Read More
Arrangement of words without changing the relative position of vowel and consonants?
C
Server Side Programming
Programming
Arnab Chakraborty
Published on 01-Aug-2019 11:07:03
Suppose we have a string with n elements (n < 10). We have to find the number of ways that the string can be arranged without changing the relative position of the vowel and consonants.The approach is simple. We have to count the number of vowels and consonants in the ...
Read More
Arrange first N natural numbers such that absolute difference between all adjacent elements > 1?
C
Server Side Programming
Programming
Arnab Chakraborty
Published on 01-Aug-2019 11:04:44
We have the first N natural numbers. Our task is to get one permutation of them where the absolute difference between every two consecutive elements is > 1. If no such permutation is present, return -1.The approach is simple. We will use the greedy approach. We will arrange all odd ...
Read More
Area of Reuleaux Triangle?
C
Server Side Programming
Programming
Arnab Chakraborty
Published on 01-Aug-2019 11:02:32
Here we will see how to calculate the area of Reuleaux Triangle like below. The Reuleaux Triangle has one equilateral triangle inside it. Suppose its height is h, this shape is made by the intersection of three circles.There are three circular sectors. The area of each sector is −Since the ...
Read More
Previous
1
...
314
315
316
317
318
319
320
...
330
Next
Advertisements
Print
Add Notes
Bookmark this page
Report Error
Suggestions
Save
Close
Dashboard
Logout