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
JavaScript BOM Window Screen
The Browser Object Model (BOM) is a browser-specific convention referring to all the objects exposed by the web browser. The BOM allows JavaScript to "interact with" the b...
Read More
Web Technologies
JavaScript
JavaScript-Questions
Reverse Diagonal elements of matrix
Given a square matrix of order n*n, we have to reverse the elements of both diagonals.Examples:Input : {1, 2, 3, 4, 5, 6, 7, 8, 9}Output :{9, 2, 7, ...
Read More
Matrix
DSA
Basic Coding Problems
JavaScript Object create() Method
JavaScript object.create() method is used to create a new object with the specified prototype object and properties. Object.create() method returns a new object with the s...
Read More
Web Technologies
JavaScript
javascript-object
JavaScript-Methods
Almost Perfect Number
Given a number n, check it is the Almost Perfect number or not. Almost perfect number is a natural number whose sum of all divisors including 1 and the number itself is eq...
Read More
series
divisibility
DSA
Basic Coding Problems
Binary Search on Singly Linked List
Given a singly linked list and a key, the task is to find the key in the Linked List using Binary Search.Examples:Input: LinkedList = 1-4-7-8-9-10, key = 7Output: PresentI...
Read More
Linked List
Binary Search
Algorithms
Dynamic Programming
Divide and Conquer
Searching
Competitive Programming
DSA
JavaScript ‘===’ vs ‘==’Comparison Operator
In Javascript(ES6), there are four ways to test equality which are listed below:Using '==' operatorUsing '===' operatorSameValueZero: used mainly in sets, maps and arrays....
Read More
Web Technologies
PHP addcslashes() Function
The addcslashes() function is a built-in function in PHP. The addcslashes() function is used to add backslashes before some specified characters in a given string. Syntax:...
Read More
Misc
Web Technologies
PHP-string
PHP
Find sum of all nodes of the given perfect binary tree
Given a positive integer L which represents the number of levels in a perfect binary tree. Given that the leaf nodes in this perfect binary tree are numbered starting from...
Read More
Tree
Data Structures-Binary Trees
DSA
PHP Pagination | Set 2
In the previous article on PHP Pagination, we had seen why pagination is needed and also developed a basic structure for implementing a pagination system using PHP. In con...
Read More
Web Technologies
PHP
TCS Remote Internship 3.0 Experience | Set 39 (On-Campus)
TCS came in our university to provide Internship to pre final year students YOP 2019. There was single Online aptitude test round. Students who clear the online test were ...
Read More
Interview Experiences
Internship
TCS
TCS-interview-experience
Experiences
Largest even digit number not greater than N
Given a number N, we need to write a program to find the largest number not greater than N which has all digits even.Examples:Input: N = 23Output: 22 Explanation: 22 is th...
Read More
Mathematical
number-digits
DSA
Collision Detection in CSMA/CD
CSMA/CD (Carrier Sense Multiple Access/ Collision Detection) is a media access control method that was widely used in Early Ethernet technology/LANs when there used to be ...
Read More
Misc
Technical Scripter
Computer Networks
GATE CS
JavaScript Object is() Method
JavaScript Object.is() method is used to compare if two values are the same value.Object.is() returns true if the values are the same, and false otherwise. It differs from...
Read More
Web Technologies
JavaScript
javascript-object
JavaScript-Methods
JavaScript Boolean toString() Method
The boolean.toString() method is used to return a string either "true" or "false" depending upon the value of the specified boolean object.Syntax:boolean.toString()Paramet...
Read More
Web Technologies
JavaScript
JavaScript-Boolean
JavaScript-Methods
Sorting array except elements in a subarray
Given an array A positive integers, sort the array in ascending order such that element in given subarray (start and end indexes are input) in unsorted array stay unmoved ...
Read More
Arrays
Sorting
Technical Scripter
DSA
1
...
11415
11416
11417
...
11561