#Hackerrank
Explore tagged Tumblr posts
testinganswers · 1 month ago
Text
Alphabet Rangoli
Task You are given an integer, N. Your task is to print an alphabet rangoli of size N. (Rangoli is a form of Indian folk art based on creation of patterns.) Different sizes of alphabet rangoli are shown below: #size 3 ----c---- --c-b-c-- c-b-a-b-c --c-b-c-- ----c---- #size…
0 notes
scopethings-blog · 6 months ago
Text
Scope Computers
💻 Unlock the basics of computers with this beginner-friendly course! 🌐 Master essential skills like operating systems, file management, internet browsing, 📧 email usage, and popular tools like Microsoft Office. 🖱️ Perfect for students, professionals, and seniors ready to boost their digital literacy quickly and easily! 🚀
Tumblr media
0 notes
csjana · 9 months ago
Text
Tumblr media Tumblr media Tumblr media
28.09.24
I had a hard time waking up today. Yesterdays chores finished at 2am. Incredible. On the good side I have everything ready for the next 2 weeks. I just need a sharp 8 hour focus study routine. Im basically starting from scratch and going step by step since Im very afraid of missing out simple questions. Again if I think about it I have nothing to lose. This is my first serious recruitment process. Whether I get accepted for interview or not I will definitely see the benefits of my work.
While I prepare for the assessment Im trying to not to miss out on classes. Just enough to keep up with the lectures and rest of the time will be fully reserved for solving questions.
Unrelated thought: sometimes I stop and think how come I have no romantic interest/relationships. I feel kind of empty when I think about it. Not like it disrupts my general peace or anything but like how? Maybe this is the "normal". I have people that I admire or I find attractive but the premonition of never finding anyone that I connect with sexually or romantically depresses me. I examine people that are in relationships and compare myself to them to find out what am I missing. I have no motivation to improve whatever I am missing tho, just curiosity.
0 notes
truebusiness · 10 months ago
Text
The Thrill of Competitive Programming: A Deep Dive into Codeforces, AtCoder, and More
In the realm of software development, competitive programming stands out as a thrilling and intellectually stimulating activity. It challenges programmers to solve complex problems under tight time constraints, fostering skills that are invaluable in both academic and professional settings. This blog delves into the world of competitive programming, exploring its significance, benefits, and the…
0 notes
bbsmitedu · 2 years ago
Text
Tumblr media
Learn C & C++ Course With BBSMIT - 📌Gurukripa Enclave, Beside Hotel Raas Mahal, Near Old Ramgadhmod Busstand Jaipur, Rajasthan, 302002 - Mail us:- [email protected] Call or WhatsApp:- +91 98287 49889
0 notes
codeperfectplus · 2 years ago
Text
Staircase - HackerRank Problem Solving
Staircase is a Hackerrank problem from the Algorithms subdomain that requires an understanding of loops and string manipulation. In this post, you will learn how to solve Hackerrank’s Staircase problem and its solution in Python and C++.
Tumblr media
Problem Statement and Explanation
Basically, we have to print a staircase of size n. The staircase should be right-aligned, composed of # symbols and spaces, and has a height and width of n.
Input Format
A single integer, n, denoting the size of the staircase.
Output Format
Print a staircase of size n using # symbols and spaces.
0 notes
justnshalom · 2 years ago
Text
Connected Sum Solution for Hackerrank
Problem Statement Given a graph with n nodes and m edges, we need to find the sum of the sizes of connected components in the graph. Each connected component is a subgraph in which every pair of nodes is connected by a path. For example, consider the following graph: 1 - 2 | 3 - 4 | 5 - 6 In this graph, there are 3 connected components: {1, 2}, {3, 4}, and {5, 6}. The sizes of these connected…
Tumblr media
View On WordPress
0 notes
zeekmonk · 2 years ago
Text
"Breaking News: Mysterious Team Bangladesh's Data Breach Hits India Hard!"
A hacktivist bunch known as Puzzling Group Bangladesh has been connected to more than 750 circulated READ MORE
Tumblr media
0 notes
stochastique-blog · 3 months ago
Photo
This is your god
Tumblr media
@hacker_b0t follow for more similarpost . . 🌐www.techyrick.tech . . . . #hackerofkrypton #hackerindonesia #hackermemes #hackerearth #hackercraft #hackerculture #hackers #hackerpschorr #hackerfreefire #hackernews #hackerrank #hackerspace #hackeradventures #hackerfestzelt #hackerbytroutpro #hackerlife #hacker #hackerfishing #hackerboy #hackerstayaway #hackeranonymous #hacker707 #hackerman #hackersstayaway #hacker_max #hackerinstagram #hackerbrücke #hackerbolt https://www.instagram.com/p/CQ7vqbVBXde/?utm_medium=tumblr
1 note · View note
acorgiirl · 8 months ago
Text
Project Euler #2
Welcome back to my series on Project Euler problems. HackerRank Lets get into it.
Links:
Project Euler: https://projecteuler.net/problem=2 HackerRank: https://www.hackerrank.com/contests/projecteuler/challenges/euler002
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be: 1,2,3,5,8,13,21,34,55,89,… By considering the terms in the Fibonacci sequence whose values do not exceed N, find the sum of the even-valued terms.
So first thing to note is just how odds and evens work. This starts with 1 and 2 so Odd + Even = Odd, then the next term would just be Even + Odd = Odd. It isn't until the 3rd addition that we get Odd + Odd = Even. After that this cycle will repeat.
So really what this is asking for is, starting at index 2, what is the sum of every 3rd term less than N.
F(2) + F(5) + ... + F(3k + 2)
(Where F(N) is the Nth Fibonacci number)
Now, computing Fibonacci numbers notoriously sucks to do, with the naive way of doing it causing you to compute from just F(20) would require computing F(3) like hundreds if not thousands of times over. So the best way to do it is to create either a hash or a cache to store it. I'm going to be utilizing something built into Python, "lru_cache" from the "functools" module. It'll just store the answers for me so I don't have to recompute what F(10) is thousands of times.
Here's my HackerRank code:
import sys from functools import lru_cache @lru_cache def fibonacci(N: int) -> int: if N < 0: return 0 if N <= 1: return 1 return fibonacci(N-1) + fibonacci(N-2) t = int(input().strip()) for a0 in range(t): n = int(input().strip()) x = 2 f = fibonacci(x) total = 0 while f <= n: total += f x += 3 f = fibonacci(x) print(total)
So as you can see, I just start at 2 and keep incrementing by fibonacci number by 3 each time. Then the loop will stop when my fibonacci number exceeds N.
And that's all tests passed! Onto the next one!
2 notes · View notes
testinganswers · 1 month ago
Text
String Formatting
Task Given an integer, n, print the following values for each integer i from 1 to n: Decimal  Octal  Hexadecimal (capitalized) Binary Function Description Complete the print_formatted function in the editor below. print_formatted has the following parameters: int number: the maximum value to print Prints The four values must be printed on a single line in the order specified above for…
0 notes
foundationsofdecay · 10 months ago
Text
But hey if I get a job lined up for the start of next year maybe I /will/ just go fuck around in november and come back for a couple of family things later. Since apparently everything cool is happening then
1 note · View note
t-ierrahumeda · 1 year ago
Text
SQL challenges will haunt me in my sleep
1 note · View note
izicodes · 1 year ago
Text
Me: Yeah I’m a Frontend Software Engineer now :3
Them: Oh cool, so you’re good at Leetcode?
Me, who has never even attempt to use the site because of fear of maths questions: … no …
Tumblr media
This also proves you can still get a tech job without having to do those maths coding challenges on websites like LeetCode, HackerRank, CodeSignal, Exercism or more.
One day I’ll attempt (and fail), just not now-
153 notes · View notes
womaneng · 4 months ago
Text
instagram
Learning to code and becoming a data scientist without a background in computer science or mathematics is absolutely possible, but it will require dedication, time, and a structured approach. ✨👌🏻 🖐🏻Here’s a step-by-step guide to help you get started:
1. Start with the Basics:
- Begin by learning the fundamentals of programming. Choose a beginner-friendly programming language like Python, which is widely used in data science.
- Online platforms like Codecademy, Coursera, and Khan Academy offer interactive courses for beginners.
2. Learn Mathematics and Statistics:
- While you don’t need to be a mathematician, a solid understanding of key concepts like algebra, calculus, and statistics is crucial for data science.
- Platforms like Khan Academy and MIT OpenCourseWare provide free resources for learning math.
3. Online Courses and Tutorials:
- Enroll in online data science courses on platforms like Coursera, edX, Udacity, and DataCamp. Look for beginner-level courses that cover data analysis, visualization, and machine learning.
4. Structured Learning Paths:
- Follow structured learning paths offered by online platforms. These paths guide you through various topics in a logical sequence.
5. Practice with Real Data:
- Work on hands-on projects using real-world data. Websites like Kaggle offer datasets and competitions for practicing data analysis and machine learning.
6. Coding Exercises:
- Practice coding regularly to build your skills. Sites like LeetCode and HackerRank offer coding challenges that can help improve your programming proficiency.
7. Learn Data Manipulation and Analysis Libraries:
- Familiarize yourself with Python libraries like NumPy, pandas, and Matplotlib for data manipulation, analysis, and visualization.
For more follow me on instagram.
7 notes · View notes
codeperfectplus · 2 years ago
Text
10 Days of JavaScript Collection
1 note · View note