Skip to content

Commit 53ce70c

Browse files
committed
Add code snippets for math-and-numbers, searching, sorting, bit manipulation
1 parent 16ad0a7 commit 53ce70c

File tree

6 files changed

+5
-5
lines changed

6 files changed

+5
-5
lines changed

snippets/cpp/bit-manipulation/check-power-of-two.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Check if a Number is Power of Two
2+
title: Check Power of Two
33
description: Checks if a given number is a power of two using bitwise operations.
44
tags: bit-manipulation, power-of-two
55
author: ashukr07
File renamed without changes.

snippets/cpp/math-and-numbers/factorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Factorial of a Number
2+
title: Factorial
33
description: Calculates the factorial of a given non-negative integer.
44
tags: math, factorial
55
author: ashukr07

snippets/cpp/math-and-numbers/fibonacci-number.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Fibonacci Sequence
2+
title: Fibonacci Number
33
description: Calculates the nth Fibonacci number using recursion.
44
tags: math, fibonacci, recursion
55
author: ashukr07

snippets/cpp/math-and-numbers/gcd.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Calculate GCD
2+
title: GCD
33
description: Computes the greatest common divisor (GCD) of two integers.
44
tags: math, gcd
55
author: ashukr07

snippets/cpp/math-and-numbers/lcm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Calculate LCM
2+
title: LCM
33
description: Computes the least common multiple (LCM) of two integers.
44
tags: math, lcm
55
author: ashukr07

0 commit comments

Comments
 (0)