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
Java | Collection | Comparable | Question 3
What is the name of method that is contained by the comparable interface ?(A)compareTo()(B)compare()(C)compareValues()(D)None of the above Answer: (A)Explanation:Quiz of ...
Read More
Misc
Python | oops | Question 4
Under which pillar of OOPS do base class and derived class relationships come?(A)Polymorphism(B)Encapulation(C)Inheritance(D)None Answer: (C)Explanation:Base class and De...
Read More
Misc
C++ Program For Binary To Octal Conversion
The problem is to convert the given binary number (represented as a string) to its equivalent octal number. The input could be very large and may not fit even into an unsi...
Read More
C++
C++ Programs
C Conversion Programs
C++ Program To Find Normal and Trace of a Matrix
Given a 2D matrix, the task is to find Trace and Normal of matrix.Normal of a matrix is defined as square root of sum of squares of matrix elements.Trace of a n x n square...
Read More
Arrays
Mathematical
Matrix
C++
C++ Programs
C++ Array Programs
DSA
Maximum length of sequence formed from cost N
Given N coins, the sequence of numbers consists of {1, 2, 3, 4, ........}. The cost for choosing a number in a sequence is the number of digits it contains. (For example c...
Read More
Binary Search
Algorithms
Searching
Technical Scripter
Technical Scripter 2022
DSA
Greedy Best first search algorithm
What is the Greedy-Best-first search algorithm?Greedy Best-First Search is an AI search algorithm that attempts to find the most promising path from a given starting point...
Read More
Algorithms
Greedy
Technical Scripter
Picked
Technical Scripter 2022
DSA
Hash Table vs Trie
What is Hash Table?An array that stores pointers to records corresponding to a given element. An entry in the hash table is NIL if no existing element has a hash function ...
Read More
Trie
Hash
Technical Scripter
HashTable
Picked
Technical Scripter 2022
DSA
Regular Expressions to Validate ISBN Code
Given some ISBN Codes, the task is to check if they are valid or not using regular expressions. Rules for the valid codes are:It is a unique 10 or 13-digit.It may or may n...
Read More
Pattern Searching
Technical Scripter
regular-expression
Technical Scripter 2022
DSA
Create Binary Tree from given Array of relation between nodes
Given a 2D integer array where each row represents the relation between the nodes (relation[i] = [parenti, childi, isLefti]). The task is to construct the binary tree desc...
Read More
Tree
Binary Tree
Technical Scripter
Technical Scripter 2022
DSA
C++ Program To Add Two Binary Strings
Given two binary strings, return their sum (also a binary string).Example:Input: a = "11", b = "1"Output: "100" We strongly recommend you to minimize your browser and try...
Read More
Strings
Mathematical
C++
C++ Programs
CPP Strings Programs
DSA
Parallel Count Sort
What is Parallel Count Sort?Parallel count sort is an efficient algorithm that sorts an array of elements in a parallel manner. It is a variation of the classic count sort...
Read More
Sorting
Picked
counting-sort
DSA
What is Implicit recursion?
What is Recursion?Recursion is a programming approach where a function repeats an action by calling itself, either directly or indirectly. This enables the function to con...
Read More
Technical Scripter
Recursion
Picked
Technical Scripter 2022
DSA
Binary search in an object Array for the field of an element
What is Binary Searching?Binary searching is a type of algorithm that can quickly search through a sorted array of elements. The algorithm works by comparing the search ke...
Read More
Arrays
Binary Search
Searching
Picked
DSA
Java | Collection | Comparable | Question 4
What are the possible return values of the compareTo() method?(A)-1 0 1(B)0(C)All Integer values(D)None of the above Answer: (A)Explanation:Quiz of this QuestionPlease co...
Read More
Misc
Java | Collection | Comparable | Question 1
Can we use the comparable interface for the primitive data types?(A)No(B)Yes Answer: (A)Explanation:Quiz of this QuestionPlease comment below if you find anything wrong i...
Read More
Misc
1
...
3376
3377
3378
...
11375