ProDeveloperTutorial.com

Tutorials and Programming Solutions
Menu
  • Shell Scripting
  • System Design
  • Linux System Programming
  • 4g LTE
  • Coding questions
  • C
  • C++
  • DSA
  • GIT
  • 450 DSA Cracker
  • 5G NR
  • O-RAN
Sort an array of 0s, 1s and 2s in C

Sort an array of 0s, 1s and 2s in C

Problem Description: Given an array of elements consisting of 0, 1, 2. Sort the array. Example: {1, 2, 0, 0, 1, 2, 1} Output: {0, 0, 1, 1, 1, 2, 2} Solution explanation: The solution is very simple, we count the number of 0’s, 1’s and …
Full Article
2 Comments
Count the number of ways a baby can reach the nth stair  taking 1 or 2 steps at a time in C language.

Count the number of ways a baby can reach the nth stair taking 1 or 2 steps at a time in C language.

Problem Description: A baby wants to climb the stairs. It can take a single step at a time or take 2 steps at a time. Or it can take a combination of 1 and 2 steps at a time. Given that there are N stairs, find …
Full Article
No Comments
Given two non empty Linked List with non negative numbers, and numbers are stored in reverse order having single digit. Add the two list and return the result as a linked list.

Given two non empty Linked List with non negative numbers, and numbers are stored in reverse order having single digit. Add the two list and return the result as a linked list.

  Input: + Output: Explanation: 543 + 321 = 8 -> 6 -> 4 Detailed Explanation: Let’s take a simple example on how we add on a paper: 199 + 1 ===== 200 Pictorial representation:   Here we have to take the least significant digit and …
Full Article
3 Comments
Given an array of integers in ascending order, return index of the two numbers such that they add up to a specific key provided.

Given an array of integers in ascending order, return index of the two numbers such that they add up to a specific key provided.

Solution Description: This problem can be solved in 2 different ways. Solution 1: Brute Force Technique Explanation: In this technique, we shall be taking 2 loops. Outer Loop and Inner Loop. Step 1: First take the first element of the outer loop and add it to …
Full Article
10 Comments
Chapter 5: C language Looping Controls

Chapter 5: C language Looping Controls

In this chapter we are going to study: While loop. Do … while loop. For loop. Break Continue Goto Looping statements are used when we have a set of statements that need to be executed repeatedly. While loop. While loop is used when we don’t know …
Full Article
No Comments
Chapter 7: C language Pointers

Chapter 7: C language Pointers

In this chapter we shall study about following Introduction Usage of Pointers Pointer Introduction: Pointer declaration: Void pointers Wild pointers Pointers and arrays Pointers to pointers     1. Introduction: One of the most important and scary topic in C language is the pointers topic. Hence …
Full Article
No Comments
Chapter 4: C language Decision Statements

Chapter 4: C language Decision Statements

  In this chapter we are going to study: If condition If-else condition If-else-if condition Nested-if Switch Statement These conditional statements help us to navigate the program flow based on certain conditions. Above mentioned are the control statements that C language supports. If condition: If statement …
Full Article
1 Comment
Chapter 3: C language Operators and expressions

Chapter 3: C language Operators and expressions

In this Chapter we are learning about the below topics: Arithmetic Operators. Assignment Operators. Relational Operators. Logical Operators. Bitwise operators. Conditional Operators. Increment and Decrement Operators.   Arithmetic Operators. Below is the list of arithmetic operators: Operator Operator Name Example + Addition 3 + 3 = …
Full Article
No Comments
Chapter 6: C language Functions

Chapter 6: C language Functions

xIn this chapter we study about: C function Declaration or function prototype. C function Definition Calling a function Types of functions in C Types of  function call More function examples Recursion Function Functions are the core part of C language. In fact every C program has …
Full Article
No Comments
Chapter 2 : C language Variables Declaration and Data-types

Chapter 2 : C language Variables Declaration and Data-types

In this chapter we are learning about:   C tokens C Language delimiters C Identifiers C Constants C Variables C Variable Declaration and Initialization C variable Defining Rules C Data types C Type Modifiers C Type Conversion C Constant and Volatile Variable   C Tokens: The …
Full Article
1 Comment

Posts navigation

Prev 1 … 79 80 81 82 83 Next
  • Shell Scripting
  • System Design
  • Linux System Programming
  • 4g LTE
  • Coding questions
  • C
  • C++
  • DSA
  • GIT
  • 450 DSA Cracker
  • 5G NR
  • O-RAN

ProDeveloperTutorial.com

Tutorials and Programming Solutions
Copyright © 2023 ProDeveloperTutorial.com
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT