Saturday, May 11, 2019

Find XOR of 1 to n

Find XOR of 1 to n

👉👉👉 https://www.dyclassroom.com/programming/find-xor-of-1-to-n

In this programming tutorial we will find XOR of 1 to n.

About XOR operator

XOR operator is a binary operator and it gives us 1 for odd number of 1s and 0 for even number of 1s.
In programming XOR is represented by ^ caret symbol.
We also represent XOR with this  plus inside circle symbol.
Following is the truth table for the XOR operator.
ABA^B
000
011
101
110
Remember!
XOR of odd 1s = 1
XOR of even 1s = 0
Check out Boolean Algebra tutorial.
Let's solve the problem.
#programming #coding #xor #computer #tutorial #dyclassroom

Friday, May 10, 2019

Convert SRT to VTT

Subtitle Converter: SRT to VTT

👉👉👉 https://yusufshakeel.com/app/convert-srt-to-vtt

What is SRT?

SubRip (SubRip Text) or SRT is a subtitle file format.

What is VTT?

VTT or WebVTT (Web Video Text Tracks) is a subtitle file format for the web. If you are using HTML5 video players on websites then you need .vtt file.

#subtitle #srt #vtt #video #movies #html5 #js #yusufshakeel

Read more...

Finding nth Fibonacci number

Finding nth Fibonacci number

👉👉👉 https://www.dyclassroom.com/programming/finding-nth-fibonacci-number

In this programming tutorial we will learn to solve Fibonacci series problems.

What is Fibonacci series?

Fibonacci series is a series of numbers (also known as Fibonacci number) such that any number is a sum of the two preceding numbers.
The first two numbers of the Fibonacci series are 1 and 1.
In the following example we have the first 10 Fibonacci numbers.
1, 1, 2, 3, 5, 8, 13, 21, 34 and 55.

#programming #coding #recursion #memoization #computer #tutorial #dyclassroom

Read more...