Take your skills to the next level with Geekster Masterclass - Free Registration
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
  • Programming
    • Learn C++
    • C++ STL
    • C Programs
    • Data Structure
  • Interview Prep
    • Blind 75
    • Striver Tree Series
    • Striver’s CP Sheet
    • TCS NQT Coding Sheet
    • Interview Experience
    • Interview Prep Roadmap
  • Courses

Category: Maths

January 3, 2022 Maths

Check if a number is Armstrong Number or not

Problem Statement: Given a number, check if it is Armstrong Number or Not. Examples: Example 1: Input:153 Output: Yes, it

Continue reading
January 3, 2022 Data Structure / Maths

Sum of first N Natural Numbers

Problem statement: Given a number ‘N’, find out the sum of the first N natural numbers. Examples: Example 1: Input:

Continue reading
January 3, 2022 Data Structure / Maths

Check whether a number is positive or negative

Problem statement: Given a number n check whether it’s positive or negative. Examples: Example 1: Input: n=5 Output: Positive Example2:

Continue reading
January 3, 2022 Maths

Greatest of two numbers

Problem Statement: Given two numbers. Find the greatest of two numbers. Examples: Example 1: Input: 1 3 Output: 3 Explanation:

Continue reading
January 3, 2022 Arrays / Maths

Check whether a given number is even or odd

Problem Statement: Given a number n, check whether a given number is even or odd. Examples: Example 1: Input: n=5

Continue reading
December 31, 2021 Data Structure / Maths

Check if given year is a leap year or not

In this post we will solve the problem “Check if given year is a leap year or not”. Problem Statement:

Continue reading
December 6, 2021 Data Structure / Maths

Implement Pow(x,n) | X raised to the power N

Problem Statement: Given a double x and integer n, calculate x raised to power n. Basically Implement pow(x, n). Examples:

Continue reading
December 1, 2021 Data Structure / Maths

Nth Root of a Number using Binary Search

Problem Statement: Given two numbers N and M, find the Nth root of M. The nth root of a number

Continue reading
November 17, 2021 Arrays / Data Structure / Hashing / Maths

Majority Elements(>N/3 times) | Find the elements that appears more than N/3 times in the array

Problem Statement: Given an array of N integers. Find the elements that appear more than N/3 times in the array.

Continue reading
November 17, 2021 Arrays / Combinatorics / Data Structure / dynamic programming / Maths / Recursion

Grid Unique Paths | Count paths from left-top to the right bottom of a matrix

Problem Statement: Given a matrix m X n, count paths from left-top to the right bottom of a matrix with

Continue reading

Posts navigation

«Previous Posts 1 … 3 4 5

Subscribe

I want to receive latest posts and interview tips
Loading

Recent Posts

  • Find the highest/lowest frequency element
  • A Guide on Online C Compiler
  • Burst Balloons | Partition DP | DP 51
  • Evaluate Boolean Expression to True | Partition DP: DP 52
  • Palindrome Partitioning – II | Front Partition : DP 53

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 queue recursion Samsung SDE Core Sheet SDE Sheet Searching set-bits sorting Strivers A2ZDSA Course sub-array subarray Swiggy takeuforward TCQ NINJA TCS TCS CODEVITA TCS DIGITA; TCS Ninja TCS NQT VMware XOR

Copyright © 2022 takeuforward | All rights reserved