Swapna Kumar Panda ๎จ€ Profile picture
Feb 22 โ€ข 19 tweets โ€ข 3 min read
๐Ÿ‘ฉโ€๐Ÿ’ป Practice 100+ Problems

Using your favourite language
โ C
โ C++
โ Python
โ Java
โ C#
โ PHP
โ JavaScript
Or, anything.

โ‡ฉ
When we start practicing to improve our programming skills, the very first problems are always based on numbers.

Here I am presenting problems on

โžŠ Simple Numbers
โž‹ Unit Conversion
โžŒ Calculation
โž Geometry
โžŽ Vector
โž Matrix
โž Set
โž‘ Special Numbers
โžŠ Simple Numbers

โž€ Find a digit at a specific place in a number
โž Find count of digits in a number
โž‚ Find the largest digit
โžƒ Find the 2nd largest digit
โž„ Find the kth largest digit
โž… Find the smallest digit
โž† Find the 2nd smallest digit
โž‡ Find the kth smallest digit
โžˆ Find generic root (sum of all digits) of a number
โž‰ Reverse the digits in a number
โž€โž€ Rotate the digits in a number
โž€โž Is the number a palindrome?
โž€โž‚ Find sum of 'n' numbers
โž€โžƒ Check if a number is perfect square
โž€โž„ Find a number in an AP sequence
โž€โž… Find a number in a GP sequence
โž€โž† Find a number in fibonacci sequence
โž€โž‡ Check number divisibility by 2, 3, 5, 9
โž€โžˆ Check if a number is primary or not
20. Given a number, print all primes smaller than it
โžโž€ Check if a number is circular prime or not
โžโž Find all prime factors of a number
โžโž‚ Find the GCD of 2 numbers
โžโžƒ Find the LCM of 2 numbers
โž‹ Unit Conversion

โž€ Base (Binary, Octal, Hexadecimal, Decimal)
โž Weight
โž‚ Height
โžƒ Temperature
โž„ Distance
โž… Area
โž† Volume
โž‡ Time
โžˆ Currency
โžŒ Calculation

โž€ Find the exponentiation of a number
โž Find the factorial of a number
โž‚ Loan EMI Calculator
โžƒ Fixed Deposit Returns Calculator
โž„ Interest Calculator
โž… BMI Calculator
โž† Item Price (considering tax, discount, shipping)
โž‡ Tip Calculator
โž Geometry

โž€ Find distance between 2 points
โž Given 2 sides of a right angle triangle, find the 3rd
โž‚ Find 3rd angle of a triangle when 2 are given
โžƒ Area of a triangle when 3 sides are given
โž„ Area of a right angle triangle
โž… Perimeter of a Square
โž† Area of a Square
โž‡ Perimeter of a Rectangle
โžˆ Area of a Rectangle
โž‰ Circumference of a Circle
โž€โž€ Area of a Circle
โž€โž Circumference of a Semi-Circle
โž€โž‚ Area of a Semi-Circle
โž€โžƒ Area of a Ring
โž€โž„ Circumference of an Ellipse
โž€โž… Area of an Ellipse
โž€โž† Suface Area of a Sphere
โž€โž‡ Volume of a Sphere
โž€โžˆ Surface Area of a Hemisphere
20. Volume of a Hemisphere
โžโž€ Surface area of a Cube
โžโž Volume of a Cube
โžโž‚ Surface area of a Cylinder
โžโžƒ Volume of a Cylinder
โžŽ Vector

โž€ Find Scalar Multiplication of a vector
โž Find addition/subtraction of vectors
โž‚ Find magnitude of a vector
โžƒ Find an unit vector along a given vector
โž„ Find dot product of 2 vectors
โž… Find cross product of 2 vectors
โž† Check if 2 vectors are orthogonal
โž Matrix

โž€ Find the determinant of a matrix
โž Find Scalar Multiplication of a matrix
โž‚ Find addition/subtraction of matrices
โžƒ Find the transpose of a matrix
โž„ Find if 2 matrices are orthogonal
โž… Find inverse of a 2x2 and 3x3 matrix
โž Set

โž€ Find Union of 2 sets
โž Find Intersection of 2 sets
โž‚ Find the Difference of 2 sets
โžƒ Find the Symmetric Difference of 2 sets
โž„ Find if a set is subset/superset of another set
โž… Find if 2 sets are disjoints
โž‘ Special Numbers

โž€ Strong Number
โž Perfect Number
โž‚ Armstrong Number
โžƒ Harshad Number
โž„ Kaprekar Number
โž… Lychrel Number
โž† Narcissistic Decimal Number
โž‡ Lucus Number
โžˆ Catalan Number
โž‰ Duck Number
โž€โž€ Ugly Number
โž€โž Abundant Number
โž€โž‚ Deficient Number
โž€โžƒ Automorphic Number
โž€โž„ Magic Number
โž€โž… Friendly Pair Numbers
โž€โž† Neon Number
โž€โž‡ Spy Number
โž€โžˆ Happy Number
20. Sunny Number
โžโž€ Disarium Number
โžโž Pronic Number
โžโž‚ Trimorphic Number
โžโžƒ Evil Number
โžโž„ Amicable Pairs
โžโž-โž-โžโž

Do you know, when will next such a series (5 or more same numbers) occur?

- 89 years

โ โž€โž€-โž€-โž€โž€
โ โž€โž€-โž€โž€-โž€โž€
End of ๐Ÿงต

Do you find this one useful? Share your thoughts.

Here I am regularly sharing questions, cheat sheets, tips and, tutorials related to Web Development (HTML, CSS, JavaScript, React), Data Structures and Database.

Are you interested? To never miss any, Follow me โœ…

โ€ข โ€ข โ€ข

Missing some Tweet in this thread? You can try to force a refresh
ใ€€

Keep Current with Swapna Kumar Panda ๎จ€

Swapna Kumar Panda ๎จ€ Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @swapnakpanda

Feb 23
๐Ÿ—’ List of Data Structures Topics

Now learn and, master these easily.

โ‡ฉ
We will break down for below

โžŠ Array
โž‹ Linked List
โžŒ Stack
โž Queue
โžŽ Hash Table
โž Heap
โž Tree
โž‘ Graph
โžŠ Array

โฌ” Types

โž€ One-Dimensional Array
โž Multi-Dimensional Array

โฌ“ Key Points

โž€ Index
Read 16 tweets
Feb 21
๐Ÿ’Ž Cheat Sheet : NPM Commands for Node.js Developers

.
Let's find out what these commands are used for.

โžŠ npm init
โž‹ npm install
โžŒ npm update
โž npm unistall
โžŽ Running Scripts
โžŠ npm init
Read 10 tweets
Feb 20
Programming Tips for New Programmers

โ‡ฉ
Are you new to Programming? Are you confused about

โ How to start?
โ Where to start?
โ What to start?

I will try to make it easy for you as much possible through this ๐Ÿงต
Let's ask few self questions related to your programming career decision

โ What were you doing before?
โ Why did you decide to start?
โ Did someone influence you?
โ How did you start?
โ At what age you started?
Read 14 tweets
Feb 19
Data Structures you should be knowing as a Web Developer

โ‡ฉ
Data structures are,

โžŠ Array
โž‹ Set
โžŒ Stack
โž Queue
โžŽ Hash Table
โž Tree
โž Graph
We will be discussing about

โ Definition of a Data Structure
โ Use Case(s) for a Data Structure
โ Operations you should be knowing
Read 21 tweets
Feb 18
40 resources to learn DSA

๐Ÿ“š Books
๐ŸŽฌ YouTube Channels
๐Ÿ–ผ Online Courses
๐Ÿ“ฐ Blogs
โœ๏ธ Practice

โ‡ฉ
๐Ÿ“š Books

โžŠ Grokking Algorithms
โœ๏ธ Aditya Bhargava

โž‹ Introduction to Algorithms
โœ๏ธ Thomas H. Cormen โŠ• Charles E. Leiserson โŠ• Ronald L. Rivest โŠ• Clifford Stein

โžŒ Introduction to Algorithms
โœ๏ธ Udi Manber
โž The Algorithm Design Manual
โœ๏ธ Steven S. Skiena

โžŽ Algorithms
โœ๏ธ Robert Sedgewick โŠ• Kevin Wayne

โž Data Structures and Algorithms Made Easy
โœ๏ธ Narasimha Karumanchi
Read 15 tweets
Feb 17
๐Ÿ’Ž 7 Types of Algorithms

โฎ‘ Brute Force
โฎ‘ Recursive
โฎ‘ Divide & Conquer
โฎ‘ Greedy
โฎ‘ Dynamic
โฎ‘ Backtracking
โฎ‘ Randomised

โ‡ฉ
โžŠ Brute Force Algorithm

โฌ” It is the most common type of algorithm. Every problem can be solved by brute force approach although generally not most effective.

โฌ• To design an optimal solution, we need to get a solution first at least and then it may be optimised.
โž‹ Recursive Algorithm

โฌ” The problem is divided into subproblems and, the subproblems are into further subproblems.

โฌ• Recursion simply means calling itself to solve its subproblems.

Example: Factorial(n) = n * Factorial(n-1)
Read 12 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(