Get 100% scholarship and clear FAANG Interviews | Use code “striver” for 50% off on test fee
Skip to content

takeUforward

~ Strive for Excellence

  • Striver’s SDE Sheet
  • SDE Core Sheet
  • Interview Experience
  • Data Structure
  • Advertise with us
  • Join takeUforward

Category: Maths

May 7, 2022 Data Structure / Maths

Count digits in a number

Problem Statement: Given an integer N , write program to count number of digits in N. Examples: Example 1: Input:

Continue reading
March 16, 2022 Data Structure / Maths

Power of Two

Problem Statement: Given a positive integer, we have to check whether it is a power of two or not. Examples:

Continue reading
March 16, 2022 Data Structure / Maths

Count Trailing Zeroes

Problem Statement: “Given an integer n, return the number of trailing zeroes in n!. Note that n! = n *

Continue reading
March 16, 2022 Data Structure / Maths

Bitwise Operators in C++

In this article, we will learn about all Bitwise Operators in CPP. What are Operators? In programming languages, the operator

Continue reading
March 7, 2022 Data Structure / Maths

Print all Divisors of a given Number

Problem Statement: Given a number, print all the divisors of the number. A divisor is a number that gives remainder

Continue reading
January 18, 2022 Maths

Convert Decimal to Binary Number

Problem Statement: Convert decimal to binary number. Examples: Example 1: Input: N = 15 Output: 1111 Explanation: 15 in binary

Continue reading
January 18, 2022 Data Structure / Maths

Express given number as Sum of Two Prime Numbers

Problem: Given a number n, express the number as a sum of 2 prime numbers. Examples: Example 1: Input :

Continue reading
January 11, 2022 Data Structure / Maths

Calculate the Power of a Number : Binary Exponentiation

Problem Statement: Find the Power of a number. Examples: Example 1: Input: N = 5, k=3 Output: 125 Explanation: Since

Continue reading
January 10, 2022 Arrays / Data Structure / Maths

Rearrange array in increasing-decreasing order

Problem Statement: Rearrange the array such that the first half is arranged in increasing order, and the second half is

Continue reading
January 10, 2022 Data Structure / Maths / String

Sum of the Numbers in a String

Problem: Given a string, calculate the sum of numbers in a string (multiple consecutive digits are considered one number) Examples:

Continue reading

Posts navigation

1 2 3 … 5 Next Posts»

Subscribe

I want to receive latest posts and interview tips
Loading

Recent Posts

  • C Programs : List of most popular programs in C
  • strcpy in C
  • lcm of two numbers in C
  • Pointer in C
  • Transpose of a Matrix in C

Accolite Digital Amazon Arcesium Bank of America Barclays BFS Binary Search Binary Search Tree Commvault CPP DE Shaw DFS DSA Self Paced google HackerEarth infosys inorder Java Juspay Kreeti Technologies Morgan Stanley Newfold Digital Oracle post order pre-order queue recursion Samsung SDE Core Sheet SDE Sheet Searching set-bits sorting sub-array subarray Swiggy takeuforward TCQ NINJA TCS TCS CODEVITA TCS DIGITA; TCS Ninja TCS NQT VMware XOR

Copyright © 2022 takeuforward | All rights reserved