Explore tweets tagged as #MathInCode
@soumxyz05
Soumya Nayak
22 days
๐Ÿš€ Pascalโ€™s Triangle II shortcut:. Skip building the triangle โ€” build just the row!. row[0] = 1.row[i] = row[i-1] * (n-i+1) / i.โฑ O(n), ๐Ÿ—‚ O(n). #Day7 #100DaysOfCode #DSA #MathInCode #StriversSheet
Tweet media one
0
0
1
@KellyPared
Kelly Schuster-Paredes
8 years
What? You have to know math coordinates to code? Ss starting to understand impt of #mathincode. @cospaces_edu
Tweet media one
1
1
7
@soumxyz05
Soumya Nayak
23 days
๐Ÿš€ Pascalโ€™s Triangle Hack:. Instead of building the whole triangleโ€ฆ. 1๏ธโƒฃ Use nCr = n! / (r! * (n-r)!).2๏ธโƒฃ Pick smaller of r & n-r.3๏ธโƒฃ Calculate iteratively โ†’ avoid overflow.โฑ O(r), ๐Ÿ—‚ O(1).#Day6 #100DaysOfCode #DSA #MathInCode #StriversSheet
Tweet media one
0
0
1
@AtharvLearns
Atharv Chavan
9 months
DSA.Today's focus was all about mathematical techniques in DSA:. Prime Numbers. Square Root of a Number (Newton-Raphson). Factors of a Number. Properties of Modulo. HCF (Euclid's Algorithm). LCM. #DSAwithKunal #CodingJourney #MathInCode #commclassroom
Tweet media one
0
0
1
@soumxyz05
Soumya Nayak
21 days
๐Ÿš€ From 1 element โ†’ 1 row โ†’ full triangle!. Pascalโ€™s Triangle III builds all rows:.row[j] = row[j-1] * (i-j+1) / j.โฑ O(Nยฒ) | ๐Ÿ—‚ O(Nยฒ). #Day8 #100DaysOfCode #DSA #MathInCode #StriversSheet
Tweet media one
0
0
2
@Mohd_Saqib_
Mohd Saqib
2 months
๐Ÿš€ย Day 332 of Codeย ๐Ÿš€. Solved :. โœ…ย 3443. Maximum Manhattan Distance After K Changes (POTD). #Day332 #LeetCode #DSA #ManhattanDistance #MathInCode #POTD #Greedy #Algorithm #ProblemSolving #100DaysOfCode
Tweet media one
0
0
1
@VikramNayyarCS
Vikram Nayyar
2 months
Never really got math in school ๐Ÿคฏ.But seeing it broken down like this in code just clicks ๐Ÿ’ก.Way easier to visualise and actually interpret โ€” maybe itโ€™s just me? ๐Ÿ˜….#JavaScript #LinearAlgebra #MathInCode #AI #LearningInPublic.
1
0
0
@codebysubhamoy
Subhamoy
21 days
Transforming todayโ€™s math class challenge into Python code ๐Ÿ๐Ÿ“ โ€” a hands-on proof using the Pigeonhole Principle, now fully executable! ๐Ÿ˜Ž.#math #python #MathInCode #PigeonholePrinciple #Python #CodingChallenge #STEM #ProblemSolving #LearnToCode #MathProof #CodeSnippet
Tweet media one
0
0
0
@aditya_7989
aditya prajapati
1 month
๐Ÿ”ธ Day 110 of #GFG160.Today's challenge: Count Coprime Pairs in an Array!.Using number theory magic ๐Ÿงฎ โ€” Mรถbius Function, Inclusion-Exclusion Principle, and GCD logic to count all coprime pairs efficiently! ๐Ÿ’ก.@geeksforgeeks.#GFG160 #GeekStreak2025 #NumberTheory #MathInCode ๐Ÿ’ป๐Ÿ”ข
Tweet media one
0
0
2
@aditya_7989
aditya prajapati
1 month
Day 112 of #GFG160.Today's challenge: ๐Ÿงฎ Sum of All Subarrays!.Smartly calculating the total sum using contributions of each element ๐Ÿ’ก.No brute force โ€“ just pure math & optimization magic โœจ.@geeksforgeeks.#GFG160 #GeekStreak2025 #ArrayChallenge #Optimization #MathInCode ๐Ÿ’ป๐Ÿ“Š
Tweet media one
0
0
2
@OCHHQ
bankole Collins
2 years
Day 25 of #100DaysOfCode: ๐ŸŽถ A symphony of joy and pain as I revisited each coding challenge. Pen and paper in hand, I danced with the difficulty, mastering xcor() and ycor(). Each line,a note in the beautiful music of my coding journey. ๐ŸŒŸ #CodeRecap #NumberLineMagic #MathInCode
0
1
2
@BeginnerPro27
BeginnerProgrammer
4 months
๐Ÿ”น Day 148: Java Learning Journey ๐Ÿš€.Solved LeetCode #790: Domino and Tromino Tiling ๐ŸŽฏ.Applied dynamic programming to solve tiling problems efficiently. Challenging but rewarding! ๐Ÿ’ช.#Java #LeetCode #DynamicProgramming #100DaysOfCode #CodingJourney #200DaysOfCode #MathInCode
0
0
3
@BeginnerPro27
BeginnerProgrammer
3 months
๐Ÿงฎ Day 168 of #200DaysOfCode.Solved LeetCode #2894: Divisible and Non-divisible Sums Difference using Java! ๐Ÿ”โž—.Clean math-based problem โ€” focused on modulus, summation, and clear logic ๐Ÿ’ก.#Java #LeetCode #MathInCode #ProblemSolving #100DaysOfCode #CodingJourney
0
0
1
@manish_dev_
Mneesh
8 months
๐Ÿงฎ Finding GCD of a List:. from math import gcd .nums = [24, 36, 48] .result = reduce(gcd, nums) .print(result) # Output: 12.๐Ÿ’ก Combine reduce with pre-built functions for reusable, clean code. #PythonProgramming #MathInCode.
1
0
0
@PuraoAdwait
Adwait Purao
1 month
Just published a breakdown on rendering LaTeX in React โ€” no more math chaos in your UI ๐Ÿงฎโœจ If you're building a slick frontend and want equations to look sharp, this blog's your toolkit. ๐Ÿ”— #ReactJS #LaTeX #FrontendDesign #DevTips #MathInCode.
0
0
1
@Ravindra_uk01
Ravindra Singh Rayal
1 year
๐ŸŒŸ Day 156 of #365DaysOfCode! ๐ŸŒŸ. Explored:.1. All Divisors (.2. Count Primes (. Prime numbers are the building blocks of number theory. How do you approach prime-related problems? ๐Ÿค”. #Coding #PrimeNumbers #Prog #MathInCode #anime
Tweet media one
0
0
4
@BeginnerPro27
BeginnerProgrammer
2 months
Day 193 ๐Ÿ’ป.๐Ÿ”ข Euclidโ€™s Algorithm (GCD using recursion).โœ… Efficiently finds greatest common divisor using GCD(a, b) = GCD(b, a % b).One of the most powerful & ancient algorithms!.#Java #EuclidsAlgorithm #GCD #MathInCode #200DaysOfCode
0
0
0
@Ravindra_uk01
Ravindra Singh Rayal
1 year
๐ŸŒŸ Day 155 of #365DaysOfCode! ๐ŸŒŸ. Explored:.1. Odd Occurrence Numbers (.2. Prime Factorization.(. How often do you revisit basic math in coding? ๐Ÿค”. #Coding #Programming #BitManipulation #MathInCode #TechJourney
Tweet media one
0
0
4
@shachi212
Meru Harjono
14 years
Ketemu lagi dengan persamaan garis singgung #MathInCode.
0
0
0
@AssignmentAbner
Assignment, Essays & Projects Help
10 months
Math in code often seems way easier than in realityfewer variables, more structure! But when you try to solve it in the real world, things get complicated fast. #MathInCode #RealWorld #TechVsReality #assignmenthelp.Visit: for expert assignment help!
Tweet media one
Tweet media two
0
0
0