Blog Posts
- Home /
- Blog Posts
Return Index of Matching Closing Bracket in Go
March 6, 2022
The challenge In this challenge, you will be given a string with brackets and an index of an opening bracket and your task will be to return the index of the matching closing bracket.
Read More
How to Presign an S3 URL in AWS using AWS CLI
March 5, 2022
You can use the AWS CLI to presign URLs so that objects in S3 can be shared publicly even if they are set as private.
Read More
How to Download using Aria2c with Multiple Connections
March 4, 2022
If you use aria2c to download files using the command-line, then you can also use it to download using multiple connections.
Read More
How to Parse HTML/CSS Colors in Java
March 3, 2022
The challenge In this challenge, you parse RGB colors represented by strings.
Read More
Solving Simple Transposition in Java
March 2, 2022
The challenge Simple transposition is a basic and simple cryptography technique.
Read More
How to Binary to Text (ASCII) Conversion in Python
March 1, 2022
The challenge Write a function that takes in a binary string and returns the equivalent decoded text (the text is ASCII encoded).
Read More
How to Find the Row of the Odd Triangle in Python
February 28, 2022
The challenge Given a triangle of consecutive odd numbers: 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 .
Read More
Solving Number Zoo Patrol in Python
February 27, 2022
The challenge Write a function that takes a shuffled list of unique numbers from 1 to n with one element missing (which can be any number including n).
Read More
Common AWS CDK CLI Commands
February 26, 2022
The AWS Cloud Development Kit (CDK) comes with numerous CLI commands.
Read More
How to Create an S3 bucket with PublicRead in CloudFormation
February 25, 2022
AWSTemplateFormatVersion: 2010-09-09 Description: Basic S3 Bucket CloudFormation template Resources: S3BucketForWebsiteContent: Type: AWS::S3::Bucket Properties: AccessControl: PublicRead Outputs: BucketName: Value: !
Read More
How to Create a VPC in CloudFormation
February 24, 2022
It’s very easy to deploy a VPC using CloudFormation: AWSTemplateFormatVersion: 2010-09-09 Description: Deploy a VPC Resources: VPC: Type: AWS::EC2::VPC Properties: CidrBlock: 10.
Read More
How to Setup Git on EC2 for AWS CodeCommit
February 23, 2022
Connect to the instance: chmod 400 KEYPAIR.pem ssh -i KEYPAIR.pem ec2-user@EC2PublicIP Install Git:
Read More
The Difference of 2 in Java
February 22, 2022
The challenge The objective is to return all pairs of integers from a given array of integers that have a difference of 2.
Read More
How to Make the Deadfish Swim in Java
February 21, 2022
The challenge Write a simple parser that will parse and run Deadfish.
Read More
How to Write Number in Expanded Form in Java
February 20, 2022
The challenge You will be given a number and you will need to return it as a string in Expanded Form.
Read More
Is a Number Prime in Java
February 19, 2022
The challenge Define a function that takes one integer argument and returns a logical value true or false depending on if the integer is a prime.
Read More
How to Calculate Minutes to Midnight in Java
February 18, 2022
The challenge Write a function minutesToMidnight(d) that will take a date object as the parameter.
Read More
How to Change the Timestamp of a File on Mac/Linux
February 17, 2022
If you have a file on your machine, and you want to change the created/modified time/date stamp, then you can use the touch command.
Read More
How to Round up to the Next Multiple of 5 in Python
February 16, 2022
The challenge Given an integer as input, can you round it to the next (meaning, “higher”) multiple of 5?
Read More
How to get the Sum of the First nth Term of a Series in Java
February 15, 2022
The challenge Your task is to write a function that returns the sum of the following series up to nth term(parameter).
Read More
Tags
- Actionscript
- Advertising
- Agile
- AI
- Android
- Angular
- Ansible
- API
- Automation
- AWS
- Bash
- Big Data
- Biometrics
- C
- C++
- CDK
- Chef
- CICD
- CLI
- Cloud
- CloudFormation
- Containers
- CSS
- Data Structures
- Databases
- DevOps
- Distributed
- Docker
- Domains
- EKS
- Envoy
- Excel
- Firebase
- Forensics
- General
- Git
- Go
- Graal
- Hosting
- HTML
- IaC
- IDE
- Interview
- Istio
- Java
- Javascript
- Jenkins
- Kotlin
- Kubernetes
- Linux
- Mac
- MariaDB
- Maths
- Maven
- Microservices
- Misc
- ML
- MySQL
- Networking
- Nexus
- Node
- NPM
- Pandas
- PHP
- PIP
- Platform
- PowerShell
- Puppet
- Python
- React
- Ruby
- Rust
- S3
- Security
- SEO
- Software
- Spring
- SQL
- SRE
- SSH
- SSL
- Startup
- Terraform
- Typescript
- Ubuntu
- Web3
- Windows
- WSL