Recent Discussions

anthonyo
Find the unique number

There is an array with some numbers. All numbers are equal except for one. Try to find it!

```
findUniq([ 1, 1, 1, 2, 1, 1 ]) === 2
findUniq([ 0, 0, 0.55, 0, 0 ]) === 0.55
```

It’s guaranteed that array contains at least 3 numbers.

The tests contain some very huge arrays, so think about performance.

Image preview

Q/A Section
Posted by anthonyo • 1 year ago
3 86
blessedtechie
Student Dev Pack's Secret Weapon: How GitHub Copilot Boosts Coding Productivity

Let's face it, as student developers, we're constantly grinding to improve our skills and build awesome projects. But sometimes, we hit a wall. We stare at a blank screen, willing a line of code into existence. Enter GitHub Student Developer Pack: a treasure trove of benefits designed to supercharge our coding journey. One of the coolest perks in the pack is GitHub Copilot, an AI-powered code completion tool that's become my coding buddy. But what exactly is it, and how does it make me more productive?**Student Dev Pack: Your Developer Toolkit on Steroids**The GitHub Student Developer Pack is...

Software Engineering
Posted by blessedtechie • 1 year ago
2 82
anthonyo
Find the missing letter

Write a method that takes an array of consecutive (increasing) letters as input and that returns the missing letter in the array.You will always get an valid array. And it will be always exactly one letter be missing. The length of the array will always be at least 2.The array will always contain letters in only one case.Example:['a','b','c','d','f'] -> 'e'['O','Q','R','S'] -> 'P'(Use the English alphabet with 26 letters!)

Q/A Section
Posted by anthonyo • 1 year ago
3 77
anthonyo
Find The Parity Outlier

You are given an array (which will have a length of at least 3, but could be very large) containing integers. The array is either entirely comprised of odd integers or entirely comprised of even integers except for a single integer N. Write a method that takes the array as an argument and returns this "outlier" N.Examples[2, 4, 0, 100, 4, 11, 2602, 36] --> 11 (the only odd number)[160, 3, 1719, 19, 11, 13, -21] --> 160 (the only even number)

Q/A Section
Posted by anthonyo • 1 year ago
3 79
CassandraOliver
Your Favorite Development Environment

Hello Africoders! 🌍,
What's your preferred IDE or text editor and why?
Share your setup and tips for maximizing productivity!

Happy Coding! 💻

Image preview

Software Engineering
Posted by CassandraOliver • 1 year ago
4 106
luhan
CSS Flexbox vs Grid: A Comparison

When it comes to modern web layout techniques, CSS Flexbox and CSS Grid are two powerful tools at a developer's disposal. Both have their strengths and are suited for different kinds of tasks. From my observations, beginners tend to learn just Flexbox and ignore Grid because Flexbox is easier to visualize and understand, which was also the same for me, but eventually, I discovered that I was missing out on a lot in terms of responsiveness and even beauty (surprisingly).Flexbox, or Flexible Box Layout, is designed for one-dimensional layouts. This means it excels in laying out items in a single...

Software Engineering
Posted by luhan • 1 year ago
3 85
anthonyo
Sort In Descending Number

Instructions: You can solve this in your favorite language:

Task: Make a function that can take any non-negative integer as an argument and return it with its digits in descending order. Essentially, rearrange the digits to create the highest possible number.

**Result Examples:**

```
Input: 42145 Output: 54421
Input: 145263 Output: 654321
Input: 123456789 Output: 987654321
```

Image preview

Q/A Section
Posted by anthonyo • 1 year ago
2 65
Michael
What is a REST API?

A REST API (Representational State Transfer Application Programming Interface) is an architectural style for designing networked applications. It is a set of rules and conventions that govern how web services should communicate with each other. Here are some key points about REST APIs:Statelessness: REST APIs are stateless, which means that each request from a client to a server contains all the necessary information to understand and process that request. The server does not store any information about the client's previous interactions.Resources and URIs: REST APIs are built around the conce...

Software Engineering
Posted by Michael • 1 year ago
2 69
blessedtechie
Python for Scientific Computing: My Journey Begins!

Hi Africoders, I'm excited to announce that I'm diving headfirst into the world of Python this semester! My goal? To harness the power of this popular language for scientific computing.Python's history is actually pretty interesting. Created in the late 1980s by Guido van Rossum, it was designed with readability and programmer productivity in mind. One of the key features that makes Python so beginner-friendly is that it's a **dynamically typed language**. This means you don't need to explicitly declare the data type of a variable before you use it, which can save a lot of time and effort when...

Software Engineering
Posted by blessedtechie • 1 year ago
2 72
CassandraOliver
Coding Challenge: FizzBuzz ( In any language of your choice !!! )

Hello Africoders! 🌍,Up for a quick coding challenge? Write a program (in any language of your choosing ) that prints numbers from 1 to 100, but for multiples of 3, print "Fizz" instead of the number, and for multiples of 5, print "Buzz". For numbers that are multiples of both 3 and 5, print "FizzBuzz". Share your solutions below!Let's get coding! 💻

Q/A Section
Posted by CassandraOliver • 1 year ago
3 75
CassandraOliver
Getting Started with Python Programming

Hello Africoders! 🌍Are you new to programming and wondering where to start? Python is a great choice for beginners due to its simplicity and readability. Here's how you can get started:1. Install Python:* Download the latest version from [python.org.](https://www.python.org/)* Follow the installation instructions for your operating system.2. Learn the Basics:* Start with understanding basic syntax, variables, and data types.* Resources: [W3Schools Python Tutorial](https://www.w3schools.com/python/), [Codecademy Python Course.](https://www.codecademy.com/learn/learn-python-3)3. Practice...

Software Engineering
Posted by CassandraOliver • 1 year ago
5 145
luhan
ReactJS vs NextJS: Which Should You Choose as a Frontend Developer?

In the ever-evolving landscape of web development, choosing the right tools and frameworks can significantly impact your project's success. ReactJS and NextJS are two of the most popular choices among front-end developers today. Both have their own strengths and ideal use cases, but how do you decide which one to use for your next project? In this post, we’ll compare ReactJS and NextJS to help you make an informed decision.What is ReactJS?ReactJS is a JavaScript library developed by Facebook for building user interfaces, particularly single-page applications. It allows developers to create reu...

Software Engineering
Posted by luhan • 1 year ago
2 73
blessedtechie
A Hilarious Look at My 4th Semester as Computing Student.

4th semester just hit me like a caffeine crash without the caffeine. My course load this time around is enough to make your head spin. We're talking web development, digital system design (think building the circuits behind the magic!), and then there's OOP with Java. Java! Don't even get me started.On the bright side, there's also scientific computing with Python – gotta love some Python, right? Plus, we're diving into computer architecture, the real brains of the operation. Linear Algebra II is back to haunt me (matrices, anyone?), and of course, there's statistics – because let's face it, i...

Computer Science
Posted by blessedtechie • 1 year ago
4 113
luhan
How to manage your time as a developer

How do professional developers who have more than 3/4 jobs manage their time when having just 1 can be so overwhelming

Image preview

Q/A Section
Posted by luhan • 1 year ago
3 155
anthonyo
Mastering Your Facebook Shares: A Guide to the Sharing Debugger

Ever meticulously craft a captivating blog post, only to see it appear dull and lifeless when shared on Facebook? You're not alone. Many creators face the frustration of their content not displaying correctly on the social media giant. But fear not, there's a handy tool at your disposal: the Facebook Sharing Debugger.**What is the Sharing Debugger?**Think of the Sharing Debugger as your personal Facebook preview tool. It allows you to see exactly how your webpage will appear when shared on Facebook. This includes the title, description, and image – all crucial elements in grabbing attention an...

Software Engineering
Posted by anthonyo • 1 year ago
3 128
jenny
What programming language to learn in 2024?

This is a question that many newbies battle with from time to time especially due to the fact that there are so many stacks and languages out there. @"dhtml"#5 what is your take on this?

Image preview

Software Engineering
Posted by jenny • 1 year ago
6 168
Engrdexterr
Appreciation post

Hey 👋 fello Africoders
It's good to Have everyone here I hope we would be able to Build a strong a unified platform For Africa Developers

Image preview

General Discussion
Posted by Engrdexterr • 1 year ago
4 82
anthonyo
How To Enable Push Notifications On Your Device

In order to enable push notifications on your device, you need to first sign in to the system.
Go to the settings page - https://africoders.com/settings - and click on opt-in as shown in the image belowImage preview

Community
Posted by anthonyo • 1 year ago
4 106
anthonyo
Introduce Yourself To Africoders Community

Welcome to Africoders, a community for software engineers and designers.
Please kindly introduce yourself to members of this community!

Image preview

Community
Posted by anthonyo • 1 year ago
40 975
blessedtechie
Digital System Design for Computing Students.

For computer science students, the world of software might seem all-encompassing. But the programs you write rely on a hidden world of hardware, and understanding that world can be incredibly empowering. This is where digital system design comes in.What is Digital System Design?Think of your computer as a complex city. Information flows through it like traffic, following specific paths and governed by intricate rules. Digital system design is like studying the blueprints of that city – understanding the building blocks (logic gates), the avenues (combinational circuits), and the traffic contro...

Computer Science
Posted by blessedtechie • 1 year ago
2 104