Blog Posts
- Home /
- Blog Posts
Indexed Capitalization in Java
October 17, 2021
The challenge Given a string and an array of integers representing indices, capitalize all letters at the given indices.
Read More
How to Spacify a String in Java
October 16, 2021
The challenge Modify the spacify function so that it returns the given string with spaces inserted between each character.
Read More
How to Find the Last Digit of a Huge Number in Golang
October 15, 2021
The challenge For a given list [x1, x2, x3, ..., xn] compute the last (decimal) digit of x1 ^ (x2 ^ (x3 ^ (.
Read More
Find the Maximum Length Difference between Lists/Arrays in Python
October 14, 2021
The challenge You are given two arrays a1 and a2 of strings.
Read More
How to Circularly Sort an Array in Golang
October 13, 2021
The challenge An array is circularly sorted if the elements are sorted in ascending order but displaced, or rotated, by any number of steps.
Read More
Largest Number Groupings in String in Python
October 12, 2021
The challenge You are be given a string that has lowercase letters and numbers.
Read More
How to Alternate String Casing in Golang
October 11, 2021
The challenge Write a function toWeirdCase (weirdcase in Ruby) that accepts a string, and returns the same string with all even indexed characters in each word uppercased, and all odd indexed characters in each word lowercased.
Read More
How to Sort a List of Numbers in Python
October 10, 2021
The challenge Finish the solution so that it sorts the passed-in array/list of numbers.
Read More
How to Validate Usernames with Regex in Java
October 9, 2021
The challenge Write a simple regex to validate a username. Allowed characters are:
Read More
Sort Lexicographical Order of Substrings in Java
October 8, 2021
The challenge Given two arrays of strings a1 and a2 return a sorted array r in lexicographical order of the strings of a1 which are substrings of strings of a2.
Read More
How to Perform Alphabetical Addition in Java
October 7, 2021
The challenge Your task is to add up letters to one letter.
Read More
Roman Numerals Decoder in Golang
October 6, 2021
The challenge Create a function that takes a Roman numeral as its argument and returns its value as a numeric decimal integer.
Read More
How to Subtract from Time in Golang
October 5, 2021
The challenge Clock shows h hours, m minutes and s seconds after midnight.
Read More
How to Encrypt Words in Java
October 4, 2021
The challenge You want to create secret messages which must be deciphered.
Read More
Bit Counting in Golang
October 3, 2021
The challenge Write a function that takes an integer as input, and returns the number of bits that are equal to one in the binary representation of that number.
Read More
How to Find Next Higher Number with Same Bits in Golang
October 2, 2021
The challenge Find the next higher number (int) with same ‘1’- Bits.
Read More
How to Find the First Non-Repeating Character in Golang
October 1, 2021
The challenge Write a function named first_non_repeating_letter that takes a string input, and returns the first character that is not repeated anywhere in the string.
Read More
How to Find the Last Fibonacci Digit in Golang
September 30, 2021
The challenge Return the last digit of the nth element in the Fibonacci sequence (starting with 1,1, to be extra clear, not with 0,1 or other numbers).
Read More
How to Validate an IP Address in Golang
September 29, 2021
The challenge Write an algorithm that will identify valid IPv4 addresses in dot-decimal format.
Read More
How to Fold an Array in Java
September 28, 2021
The challenge In this challenge, you have to write a method that folds a given array of integers by the middle x-times.
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