## Tag: Code

Code

### Time and Space Complexity of Algorithm or Program Explained

What is Time and Space Complexity of Algorithm? What does O(1), O(n), O(n^2)… algorithm complexity mean?

Code

### Write a Program to Find GCD of Two Numbers

What is Greatest Common Divisor? Write a program to find GCD of two numbers? Explain with code and example.

Code

### How to Check if a Given Number is Fibonacci Number in Python?

Write a program to check if a given number is Fibonacci number in Python?

Code

### C++ Program to Find the nth Bit of Number (Bit Masking)

Write a program to find the nth bit of number? Check if the ith bit is set or not using bit masking.

Code

### Write a Program to Find the Median of Array (by Sorting)

Write a program to find the median of array? C/C++, Java, Python code explained with array example.

Code

### Write a Program to Find the Transpose of a Matrix

Write a program to find the transpose of a matrix in C/C++, Java and Python. Code explained with array example.

Code

### Second Largest/Smallest Number in Array in C/C++, Java and Python

Write a program to find the second smallest number in array in C/C++, Java and Python. Second largest element in list.

Code

### Find the Smallest and Largest Number in Array in C/C++, Java and Python

Write a program to find the smallest and largest number in the array. Code written in C/C++, Java and Python.

career

### 7 Amazing Reasons | Why You should Learn Coding

Why you should learn coding? Why everybody should learn to code? Why is coding important for the future?