Mithlesh Upadhyay

Mithlesh Upadhyay is a Computer Science and AI expert from Madhya Pradesh with strong academic background (BE in CSE and M.Tech in AI) and over six years of experience in technical content development. He has contributed tech articles, led teams, and worked in Full Stack Development and Data Science. He founded the w3colleges.org portal for learning resources.

Author Archives: Mithlesh Upadhyay

Find the Nth Fibonacci Number

Given a number N, the task is to find Nth Fibonacci number. The Fibonacci numbers are the numbers in the following integer series. 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, ……. In this series, each number is the sum of the two preceding ones starting from 0 and 1. Examples: Input :… Read More »

Easy Multi-Layered Calculation

Count the number of even/odd results after performing a series of calculation on a range of numbers. Given that: Each layer of calculation have two numbers (say a and b) associated with it. For each input x, y = ax + b is calculated. The result of layer i, i.e y, becomes input for layer i+1. The range… Read More »

What is Overriding in C++

Write a program in C++ to depict the concept of overriding or Dynamic polymorphism. Overriding is a type of polymorphism. Polymorphism in OOP languages means to take more than one form. Virtual functions in C++ are functions that do not have an actual implementation, these are written in the base class to be overridden in derived class. When… Read More »

Program to print next palindromic Time

For the given hour and minute let say “hh” and “mm” print the next sooner palindromic time. Example: Input: hh = 02 mm = 03 Output: 02:20 Explaination:For the hour 02 and minute 03 the next sooner palindromic time is 02:20 Input hh = 04 mm = 45 Output: 05:50 Explaination:For the hour 04 and minute 45 the… Read More »

Find Top-Ranked Student Based on Exam Scores in C++

There are N student from class 12th,each student finished thier exam and exam consist with four subjects like math, computer, physics and chemistory. Result is announced and result list consist with student identity number with their corresponding marks scored in each subject. Our task is to find ranked student among the N student. Example: Suppose there are 5… Read More »

Components of Private Cloud

Private cloud is generally used within a organization. This helps to avoid the complexities and time associated with purchase and cloud implementation of traditional physical infrastructure. Private cloud implementation also includes the challenges of integrating hardware and software from several vendors. Features of Private Cloud: Higher Security And Privacy – Private cloud offers higher security as compared to… Read More »

Computer Network : All About Computer Networking

The need for the computers is increasing day by day. Every person is becoming dependent on computers. If each person having computer has separate auxiliary devices then the cost of operating computers would increase, so to overcome this cost, resource sharing is required. Moreover, the need for faster means of communications between different computers is also arising. So… Read More »

Software concepts of Computer

Before starting the software concepts, let us take a brief look into the components of computer. Components of Computer: A computer system has 3 components namely: Hardware, Software, and Users. These are explained as following below. 1. Hardware: Hardware consists of the physical devices. Basically, hardware is the interconnection of devices and study related to how to deal… Read More »