Register for Codestudio Saturday Contest
Skip to content

takeUforward

~ Strive for Excellence

  • Striver’s SDE Sheet
  • Striver’s A2Z DSA Course/Sheet
  • Striver’s DP Series
  • CS Subjects
    • SDE Core Sheet
    • Operating Systems
    • Computer Networks
  • Interview Prep
    • Blind 75
    • Striver Tree Series
    • Striver’s CP Sheet
    • TCS NQT Coding Sheet
    • Interview Experience
    • Interview Prep Roadmap
  • Programming
    • Learn C++
    • C++ STL
    • C Programs
    • Data Structure
  • Courses

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

  • Recursive Bubble Sort Algorithm
  • Recursive Insertion Sort Algorithm
  • Right rotate an array by D places
  • Left rotate an array by D places
  • Find the missing number in an array

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

Copyright © 2023 takeuforward | All rights reserved