Courses
Tutorials
Jobs
Practice
Contests
Data Structure
Java
Python
HTML
Interview Preparation
Trending Now
DSA
Web Tech
Foundational Courses
Data Science
Practice Problem
Python
Machine Learning
JavaScript
System Design
Django
DevOps Tutorial
Java
C
C++
ReactJS
NodeJS
CP Live
Aptitude
Puzzles
Projects
GBlog
Frontend Developer Roadmap 2024
Frontend development means to design the face of a website or application. It involves working on the appearance of the website. Building interactive buttons, using images...
Read More
PayPal Interview Experience | Set 9 (On-Campus)
PayPal visited our campus for recruiting students and the job profile is the software engineer. There were 4 rounds including the first test round.Round - 1:This is a test...
Read More
Interview Experiences
Experiences
Check if a M-th fibonacci number divides N-th fibonacci number
Given two numbers M and N, the task is to check if the M-th and N-th Fibonacci numbers perfectly divide each other or not.Examples:Input: M = 3, N = 6Output: YesF(3) = 2, ...
Read More
Mathematical
Competitive Programming
Fibonacci
divisibility
DSA
QA - Placement Quizzes | SP Contest 2 | Question 10
How does DHCP server dynamically assigns IP address to requesting host?(A) Dynamically, IP address is leased to requesting host for finite lease duration by DHCP server.(B...
Read More
QA – Placement Quizzes
Level order traversal with direction change after every two levels | Recursive Approach
Given a binary tree, print the level order traversal in such a way that first two levels are printed from left to right, next two levels are printed from right to left, th...
Read More
Tree
Advanced Data Structure
DSA
QA - Placement Quizzes | SP Contest 2 | Question 9
What will be the output of the below C++ program?[sourcecode language="C"]#includeiostreamusing namespace std;int main(){ int a[] = {10,20,30,40,50}; cout(*(a+1)...
Read More
QA – Placement Quizzes
Count number of triplets in an array having sum in the range [a, b]
Given an array of distinct integers and a range [a, b], the task is to count the number of triplets having a sum in the range [a, b].Examples:Input : arr[] = {8, 3, 5, 2} ...
Read More
Sorting Quiz
Algorithms
Sorting
STL
Arrays
DSA
Check whether the number formed by concatenating two numbers is a perfect square or not
Given two numbers a and b and the task is to check whether the concatenation of a and b is a perfect square or not.Examples:Input: a = 1, b = 21Output: Yes121 = 11 × 11, i...
Read More
Strings
Java
DSA
QA - Placement Quizzes | SP Contest 2 | Question 8
A C++ class can contain a member of SELF type if the member is. StaticPointerNon-static(A) Only 3(B) Both 2 and 3(C) Both 1 and 2(D) Only 1 Answer: (C) Explanation: htt...
Read More
QA – Placement Quizzes
QA - Placement Quizzes | SP Contest 2 | Question 7
What is the probability of getting a Saturday in a Week? (A)1(B)1/7(C)1/2(D)2/7 Answer: (B) Explanat...
Read More
QA – Placement Quizzes
Number of ways to form an array with distinct adjacent elements
Given three integers N, M and X, the task is to find the number of ways to form an array, such that all consecutive numbers of the array are distinct, and the value at any...
Read More
Dynamic Programming
Combinatorial
Arrays
Algorithms-Dynamic Programming
Permutation and Combination
DSA
Cubes: Verbal Reasoning Questions and Answers
Cubes is an important topic that needs to be prepared for the Logical Reasoning section of the competitive examinations. Candidates needs to practice questions in order to...
Read More
placement preparation
Placements
Aptitude
maths-cube
Producer Consumer Problem using Semaphores | Set 1
Prerequisite - Semaphores in operating system, Inter Process CommunicationProducer consumer problem is a classical synchronization problem. We can solve this problem by us...
Read More
Operating Systems
Amdocs R&D Interview Experience | Set 7 (Graduate Software Engineer Trainee)
I applied at Amdocs from their website for the post of Graduate Software Engineer Trainee-2018. The first round was an online test at Amcat from home. It was a web camera ...
Read More
Interview Experiences
Experiences
StringBuffer replace() Method in Java with Examples
The StringBuffer.replace() is the inbuilt method which is used to replace the characters in a substring of this sequence with the characters in the specified String. Here ...
Read More
Java
Java-Strings
Java-lang package
Java-Functions
java-StringBuffer
EnumMap containsValue(value) method in Java
The Java.util.EnumMap.containsValue(value) method in Java is used to determine whether one or more key of the map is associated with a given value or not. It takes the val...
Read More
Java
Java-Collections
Java-Functions
Java-EnumMap
1
...
10977
10978
10979
...
11434