Skip to content
Courses
DSA to Development
Coding for Everyone
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Software Testing & Automation (Live)
Data Structures & Algorithms in Python
For Students
Interview Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
GATE Exam Courses
GATE CS & IT
GATE DA & AI
GATE Classroom Course (NCR)
For School Students
CBSE Class 12 Computer Science
School Guide
Python Programming Foundation
All Courses
Tutorials
Data Structures & Algorithms
DSA for Beginners
Data Structures
Arrays
Matrix
Strings
Linked List
Stack
Queue
Tree
Generic Tree
Binary Tree
Binary Search Tree
AVL Tree
B Tree
B+ Tree
Red Black Tree
Tree Data Structure Tutorial
Heap
Hashing
Graph
Set Data Structure
Map Data Structure
Advanced Data Structure
Data Structures Tutorial
Algorithms
Analysis of Algorithms
Searching Algorithms
Linear Search
Binary Search
Searching Algorithms Tutorial
Sorting Algorithms
Selection Sort
Bubble Sort
Insertion Sort
Merge Sort
Quick Sort
Heap Sort
Counting Sort
Radix Sort
Bucket Sort
Sorting Algorithms Tutorial
Greedy Algorithms
Dynamic Programming
Graph Algorithms
Pattern Searching
Recursion
Backtracking
Divide and Conquer
Mathematical Algorithms
Geometric Algorithms
Bitwise Algorithms
Randomized Algorithms
Branch and Bound
Algorithms Tutorial
Complete DSA Tutorial
Competitive Programming
Company Wise SDE Sheets
Facebook SDE Sheet
Amazon SDE Sheet
Apple SDE Sheet
Netflix SDE Sheet
Google SDE Sheet
Wipro Coding Sheet
Infosys Coding Sheet
TCS Coding Sheet
Cognizant Coding Sheet
HCL Coding Sheet
DSA Cheat Sheets
DSA Sheet for Beginners
SDE Sheets
FAANG Coding Sheet
Love Babbaar Sheet
Mass Recruiter Sheet
Product-Based Coding Sheet
Company-Wise Preparation Sheet
Top 100 DSA Interview Questions Topic-wise
100 Days of Code
DSA Blogs
Python
Python Tutorial
Python Exercises
Python List Exercise
Python String Exercise
Python Tuple Exercise
Python Dictionary Exercise
Python Set Exercise
Python Excercises Top wise
Python Quiz
Python Programs
Advanced Python Tutorial
Python GUI
Python Tkinter Tutorial
Kivy Tutorial
Python Turtle Tutorial
PyGame Tutorial
Python API Tutorial
Python Database Tutorial
Python JSON
Python Automation
Python Cheat Sheet
Python Projects
Python Interview Questions
ML & Data Science
Machine Learning
Machine Learning Tutorial
Maths for ML
ML Projects
100 Days of Machine Learning
Data Science Tutorial
Data Science Packages
Pandas Tutorial
NumPy Tutorial
Data Visualization
Data Visualization with Python
Data Visualization with R
Tableau
Power BI
Data Analysis
Data Analysis with Python
Data Analysis with R
100 Days of Data Analytics
Deep Learning
NLP Tutorial
OpenCV Tutorial
Interview Questions
Machine Learning Interview Questions
Deep Learning Interview Questions
R Interview Questions
System Design
System Design Tutorial
Software Design Patterns
System Design Roadmap
Top 10 System Design Interview Questions
Interview Corner
Company Preparation
Top Topics
Practice Company Questions
Interview Experiences
Experienced Interviews
Internship Interviews
Competitive Programming
Multiple Choice Quizzes
Aptitude for Placements
Puzzles for Interviews
Languages
C
C++
Java
Python
R Tutorial
C#
SQL
Scala
Perl
Go Language
Web Development
HTML
HTML Tutorial
Free HTML Course
HTML Cheat Sheet
CSS
CSS Tutorial
Free CSS Course
CSS Cheat Sheet
CSS Preprocessors (SASS)
JavaScript
JavaScript Tutorial
JavaScript Programs
JavaScript Questions
JavaScript Cheat Sheet
DSA using JavaScript
Free JavaScript Course
JavaScript A to Z Complete Guide
TypeScript
ReactJS
ReactJS Tutorial
Free ReactJS Course
ReactJS Cheat Sheet
NextJS
Node.js
Node.js Tutorial
Express.js
PHP
PHP Tutorial
Free PHP Course
PHP Programming Examples
AngularJS
jQuery
jQuery Tutorial
jQuery Cheat Sheet
Web Development Using Python
Django
Flask
Selenium
Postman
Github
Web Design
100 Days of Web Development
CS Subjects
Engineering Mathematics
Operating System
DBMS
Computer Networks
Computer Organization and Architecture
Theory of Computation
Compiler Design
Digital Logic
Software Engineering
DevOps
DevOps Tutorial
GIT
AWS
Kubernetes
Docker
Microsoft Azure Tutorial
Google Cloud Platform
DevOps Roadmap
DevOps Interview Questions
Linux
Linux Tutorial
Linux Commands A-Z
Linux Commands Cheatsheet
File Permissions in Linux
Linux System Administration
Linux File System
Linux Shell Scripting
Linux Networking
Linux Interview Questions
School Learning
Maths Notes (Class 8-12)
Class 8 Notes
Class 9 Notes
Class 10 Notes
Class 11 Notes
Class 12 Notes
Physics Notes (Class 8-12)
Class 8 Notes
Class 9 Notes
Class 10 Notes
Class 11 Notes
Class 12 Notes
Chemistry Notes (Class 8-12)
Class 8 Notes
Class 9 Notes
Class 10 Notes
Class 11 Notes
Class 12 Notes
Biology Notes (Class 8-12)
Class 8
Class 9
Class 10
Class 11
Class 12
Science Notes(Class 8-10)
Class 8 Notes
Class 9 Notes
Class 10 Notes
Social Science Notes(Class 7-10)
Class 7 Notes
Class 8 Notes
Class 9 Notes
Class 10 Notes
English Grammar
CBSE Syllabus(Class 8-12)
Class 8 Syllabus
Class 9 Syllabus
Class 10 Syllabus
Class 11 Syllabus
Class 12 Syllabus
Commerce
Business Studies
Class 11th Notes
Class 12th Notes
Business Studies Complete Guide
Accountancy
Class 11th Notes
Class 12th Notes
Accountancy Complete Guide
Microeconomics
Class 11th Notes
Microeconomics Complete Guide
Statistics for Economics
Class 11th Notes
Statistics for Economics Complete Guide
Macroeconomics
Class 12th notes
Macroeconomics Complete Guide
Indian Economic Development
Class 12th Notes
Indian Economic Development Complete Guide
Human Resource Management (HRM)
Management
Income Tax
Finance
Commerce Complete Guide
GATE
GATE CS/IT Test Series 2024
GATE Computer Science Notes
Last Minute Notes
GATE CS Solved Papers
GATE CS Original Papers and Official Keys
GATE CS 2024 Syllabus
GATE Data Science and AI 2024
Other CS Exams
ISRO
ISRO CS Original Papers and Official Keys
ISRO CS Solved Papers
UGC NET
UGC NET CS Notes Paper II
UGC NET CS Notes Paper III
UGC NET CS Solved Papers
UPSC and SSC/Banking
Banking Exams Study Material
RRB Clerk 2023 Exam
SBI Clerk
SBI PO
IBPS Clerk
IBPS PO
UPSC Study Material
Geography Notes
History Notes
Science & Tech. Notes
Ethics Notes
Polity Notes
Economics Notes
Government Schemes (Updated)
UPSC Previous Year Papers
SSC CGL Study Material
GeeksforGeeks Videos
Jobs
Get Hired: Apply for Jobs
Corporate Hiring Solutions
Hiring Solutions Summit
Practice
All DSA Problems
Problem of the Day
Company Wise Coding Practice
Amazon
Microsoft
Flipkart
Explore All
GfG SDE Sheet
Practice Problems Difficulty Wise
School
Basic
Easy
Medium
Hard
Language Wise Coding Practice
CPP
Java
Python
Curated DSA Lists
Beginner's DSA Sheet
Love Babbar Sheet
Top 50 Array Problems
Top 50 String Problems
Top 50 DP Problems
Top 50 Graph Problems
Top 50 Tree Problems
Contests
Job-A-Thon Hiring Challenge
Get Internship via GfG Weekly
All Contests and Events
Home
Saved Videos
Courses
Data Structures and Algorithms
DSA Tutorial
Data Structures Tutorial
Algorithms Tutorial
Top 100 DSA Interview Questions
DSA-Roadmap[Basic-to-Advanced]
ML & Data Science
Learn Python
Data Science Tutorial
Machine Learning Tutorial
Deep Learning Tutorial
NLP Tutorial
Computer Vision Tutorial
Web Development
HTML Tutorial
CSS Tutorial
JavaScript Tutorial
ReactJS Tutorial
NodeJS Tutorial
Languages
C
C++
Java
R Tutorial
Golang
Interview Corner
Company Interview Corner
Experienced Interviews
Internship Experiences
Practice Company Questions
Competitive Programming
CS Subjects
Operating Systems
DBMS
Computer Networks
Software Engineering
Software Testing
Jobs
Get Hired: Apply for Jobs
Job-a-thon: Hiring Challenge
Corporate Hiring Solutions
Practice
All DSA Problems
Problem of the Day
GFG SDE Sheet
Beginner's DSA Sheet
Love Babbar Sheet
Top 50 Array Problems
Top 50 String Problems
Top 50 DP Problems
Top 50 Graph Problems
Top 50 Tree Problems
Contests
World Cup Hack-A-Thon
GFG Weekly Coding Contest
Job-A-Thon: Hiring Challenge
BiWizard School Contest
All Contests and Events
GBlog
Puzzles
What's New ?
Change Language
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
▲
Similar Topics
DSA
21.8k+ articles
Python
19.9k+ articles
Mathematical
7.7k+ articles
Arrays
6.3k+ articles
Strings
3.2k+ articles
Algorithms
1.9k+ articles
Bit Magic
1.1k+ articles
number-digits
600+ articles
Digital Logic
310+ articles
binary-representation
140+ articles
base-conversion
93 posts
Popular Articles
Recent Articles
BCD or Binary Coded Decimal
Last Updated: 13 December 2023
Binary Coded Decimal, or BCD, is another process for converting decimal numbers into their binary equivalents.It is a form of binary encodin
...read more
Bit Magic
Mathematical
Numbers
base-conversion
DSA
C program to count zeros and ones in binary representation of a number
Last Updated: 22 December 2022
Given a number N, the task is to write C program to count the number of 0s and 1s in the binary representation of N.Examples:Input: N = 5Out
...read more
Bit Magic
setBitCount
binary-representation
School Programming
base-conversion
C Programs
DSA
Python program to convert decimal to binary number
Last Updated: 01 March 2024
Given a decimal number as input, the task is to write a Python program to convert the given decimal number into an equivalent binary number.
...read more
Python
base-conversion
Python Programs
Similar Topics
DSA
21.8k+ articles
Python
19.9k+ articles
Mathematical
7.7k+ articles
Arrays
6.3k+ articles
Strings
3.2k+ articles
Algorithms
1.9k+ articles
Bit Magic
1.1k+ articles
number-digits
600+ articles
Digital Logic
310+ articles
binary-representation
140+ articles
Decimal to binary number using recursion
Last Updated: 01 March 2024
Given a decimal number as input, we need to write a program to convert the given decimal number into an equivalent binary number. Examples
...read more
Recursion
base-conversion
DSA
Basic Coding Problems
bin() in Python
Last Updated: 15 November 2023
Python bin() function returns the binary string of a given integer. bin() function is used to convert integer to binary string. In this arti
...read more
Python
base-conversion
Python-Built-in-functions
python
Binary to decimal and vice-versa in python
Last Updated: 13 April 2023
Write Python code for converting a decimal number to it's binary equivalent and vice-versa.Example:From decimal to binaryInput : 8Output : 1
...read more
Python
base-conversion
Program for Hexadecimal to Decimal
Last Updated: 15 September 2023
Given a hexadecimal number as input, we need to write a program to convert the given hexadecimal number into an equivalent decimal number.Ex
...read more
GATE CS
Computer Organization & Architecture
base-conversion
Digital Logic
Programming
Program for Decimal to Octal Conversion
Last Updated: 03 May 2023
Given a decimal number as input, we need to write a program to convert the given decimal number into an equivalent octal number. i.e convert
...read more
GATE CS
Computer Organization & Architecture
base-conversion
Digital Logic
Programming
Program for Decimal to Binary Conversion
Last Updated: 22 March 2024
Given a decimal number as input, we need to write a program to convert the given decimal number into an equivalent binary number.Examples of
...read more
MAQ Software
Mathematical
binary-representation
GATE CS
Computer Organization & Architecture
base-conversion
Digital Logic
DSA
Program for Binary To Decimal Conversion
Last Updated: 01 March 2024
Given a binary number as input, we need to write a program to convert the given binary number into an equivalent decimal number.Check: Binar
...read more
Adobe
Mathematical
binary-representation
GATE CS
Computer Organization & Architecture
base-conversion
Digital Logic
DSA
Number System and Base Conversions
Last Updated: 06 March 2023
Electronic and Digital systems may use a variety of different number systems, (e.g. Decimal, Hexadecimal, Octal, Binary), or even Duodecimal
...read more
Mathematical
school-programming
base-conversion
CBSE - Class 11
Digital Logic
DSA
Type Conversion in Python
Last Updated: 23 August 2023
Python defines type conversion functions to directly convert one data type to another which is useful in day-to-day and competitive programm
...read more
Python
base-conversion
python
Java Convert int to String | Different Ways Of Conversion
Last Updated: 15 December 2023
Converting Integers to Strings involves using the Integer classes toString() or String.valueOf() for direct conversion. String.format() is a
...read more
Java
base-conversion
Convert from any base to decimal and vice versa
Last Updated: 26 December 2023
Given a number and its base, convert it to decimal. The base of number can be anything such that all digits can be represented using 0 to 9
...read more
Mathematical
base-conversion
Motlay
DSA
Difference between 1's Complement representation and 2's Complement representation Technique
Last Updated: 23 April 2023
Prerequisite - Representation of Negative Binary Numbers1's complement of a binary number is another binary number obtained by toggling all
...read more
Computer Organization & Architecture
Difference Between
base-conversion
complement
1
2
3
4
5
6
7
>>
Last
1
2
3
4
5
6
>>
Last
1
2
3
4
>>
Last
Trending in News
View More
10 Best Free Code Learning Apps for Android in 2024
5 Best AI Tools for Plagiarism Detection 2024
10 Best iMovie Alternatives in 2024
10 Best AI Tools for Sentiment Analysis
30 OOPs Interview Questions and Answers (2024)
244k+ interested Geeks
Data Structures & Algorithms in Python - Self Paced
Explore
236k+ interested Geeks
Complete Machine Learning & Data Science Program
Explore
18k+ interested Geeks
Mastering Data Analytics - Python, SQL, Excel, Tableau
Explore
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !