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
8085 program to find sum of digits of 8 bit number
Problem: Write an assembly language program in 8085 microprocessor to find the sum of digits of an 8-bit number.Example:Assumptions: Addresses of input data and output dat...
Read More
system-programming
Computer Organization & Architecture
microprocessor
8085 program to convert binary numbers to gray
Prerequisite - Binary to/from Gray Code Problem – Write an assembly language program in 8085 microprocessor to convert binary numbers to gray. Example - Algorithm –Set th...
Read More
Computer Organization and Architecture
system-programming
microprocessor
8085 program to find nth power of a number
Problem - Write an assembly language code for calculating the nth power of a number using 8085 microprocessor.Example -Input : Base=02H Exponent=03H Output :08H In...
Read More
system-programming
Computer Organization & Architecture
microprocessor
Check if all occurrences of a character appear together
Given a string s and a character c, find if all occurrences of c appear together in s or not. If the character c does not appear in the string at all, the answer is true.E...
Read More
Algorithms
Competitive Programming
C Language
C++
Data Structures
School Programming
C++ Quiz
DSA Quiz
C Programs
C++ Programs
DSA
C/C++ Puzzles
Error detection and Recovery in Compiler
In this phase of compilation, all possible errors made by the user are detected and reported to the user in form of error messages. This process of locating errors and rep...
Read More
Technical Scripter
GATE CS
Compiler Design
Powers of 2 to required sum
Given an integer N, task is to find the numbers which when raised to the power of 2 and added finally, gives the integer N.Example :Input : 71307Output : 0, 1, 3, 7, 9, 10...
Read More
Mathematical
Technical Scripter
TechTips
DSA
Sum of range in a series of first odd then even natural numbers
The sequence first consists of all the odd numbers starting from 1 to n and then remaining even numbers starting 2 up to n. Let's suppose we have n as 1000. Then the seque...
Read More
Mathematical
Competitive Programming
series
number-theory
series-sum
DSA
Find nth term of the Dragon Curve Sequence
Dragon Curve Sequence is an infinite binary sequence of 0's and 1's. The first term of the sequence is 1.From the next term, we alternately insert 1 and 0 between each ele...
Read More
Strings
Mathematical
binary-string
DSA
Pattern to print X in a rectangular box
Given the value of length, print the X pattern in a box using # and " "Examples:Input : 10 Output : ########## ## ## # # # # # ...
Read More
Mathematical
DSA
Finding n-th term of series 3, 13, 42, 108, 235…
Given a number n, find the n-th term in the series 3, 13, 42, 108, 235…Examples:Input : 3Output : 42Input : 4Output : 108Constraints:1 = T = 1001 = N = 100Naive Approach :...
Read More
Mathematical
series
DSA
Basic Coding Problems
JavaScript Date valueOf() Method
The date.valueOf() method is used to get the number of milliseconds between 1 January 1970 00:00:00 UTC and the given date.Syntax:dateObj.valueOf()Parameters: This method ...
Read More
Web Technologies
JavaScript
javascript-date
JavaScript-Methods
JavaScript Date toISOString() Method
The date.toISOString() method is used to convert the given data object’s contents into a string in ISO format (ISO 8601) i.e, in the form of (YYYY-MM-DDTHH:mm:ss.sssZ or ±...
Read More
Web Technologies
JavaScript
javascript-date
JavaScript-Methods
median() function in Python statistics module
Python is a very popular language when it comes to data analysis and statistics. Luckily, Python3 provide statistics module, which comes with very useful functions like me...
Read More
Python
Python Programs
python-modules
Move matrix elements in given direction and add elements with same value
Given a matrix m[ ][ ] of size n x n consisting of integers and given a character 'x' indicating the direction. Value of 'x' can be 'u', 'd', 'l', 'r' indicating Up, Down,...
Read More
Arrays
Matrix
array-rearrange
cpp-array
cpp-vector
DSA
Count number of distinct sum subsets within given range
Given a set S of N numbers and a range specified by two numbers L (Lower Bound) and R (Upper Bound). Find the number of distinct values of all possible sums of some subset...
Read More
Bit Magic
Technical Scripter
DSA
1
...
10991
10992
10993
...
11269