We may earn an affiliate commission when you visit our partners.
Course image
James Cutajar

This course has been designed to help you pass your next coding interview. It focuses on puzzles from Codility's training lessons, so if you have an online coding test coming up, this course is perfect for you.

Read more

This course has been designed to help you pass your next coding interview. It focuses on puzzles from Codility's training lessons, so if you have an online coding test coming up, this course is perfect for you.

The key to passing coding interviews is to practice as much as possible by solving various types of coding puzzles. In doing so you sharpen your problem solving skills and eventually you will start to see patterns amongst the different coding solutions. You also increase your chances of being asked a problem you’ve already solved.

In this course you’ll get to practice many of these coding puzzles. In every section we introduce the topic, explain the problem and later provide you with a few hints that help solve the puzzle. In the end we arrive at the solution together.

Along the way you'll learn how to ride a motorbike, surf, scuba dive and fly an aeroplane. *

Join me on this course, and let’s get you to pass this interview.

*Not really, however this course is pretty fun regardless.

All code in this course can be found on github, username/project: cutajarj/CodilityInJava

Enroll now

What's inside

Learning objectives

  • Experience solving many of codility's coding interview puzzles, with problem descriptions, hints and solutions
  • Learn common problem solving tips ideal for coding interviews
  • Have a greater chance of passing the coding interview with codility, hackerrank and others
  • Have a better chance of doing well in a face to face or phone coding interview

Syllabus

Introduction
Make most of this course
Useful links and resources
Time Complexity
Read more
Quick recap on Complexity Theory
Perm Missing Element Problem
Perm Missing Element Hint 1
Perm Missing Element Hint 2
Perm Missing Element Solution
Perm Missing Element Code Walkthrough
Equilibrium Problem
Equilibrium Hint 1
Equilibrium Hint 2
Equilibrium Solution
Equilibrium Code Walkthrough
Arrays
Refresh your knowledge on Arrays
Cyclic Rotation Problem
Cyclic Rotation Hint
Cyclic Rotation Solution
Cyclic Rotation Code Walkthrough
Counting Elements
What do we mean by Counting Elements?
Frog River One Problem
Frog River One Hint
Frog River One Solution
Frog River One Code Walkthrough
Max Counters Problem
Max Counters Hint 1
Max Counters Hint 2
Max Counters Solution
Max Counters Code Walkthrough
Stacks and Queues
The basics around Stacks and Queues
Brackets Problem
Brackets Hint
Brackets Solution
Brackets Code Walkthrough
Fish Problem
Fish Hint
Fish Solution
Fish Code Walkthrough
Leader
Leader definition and the Dominator Problem
Dominator Hint
Dominator Solution
Dominator Code Walkthrough
Maximum Slice Problem
Introduction to the Maximum Sub Array problem
Max Profit Problem
Max Profit Hint
Max Profit Solution
Max Profit Code Walkthrough
Sorting
Overview of different Sorting Algorithms
Disc Intersection Problem
Disc Intersection Hint
Disc Intersection Solution
Disc Intersection Code Walkthrough
Prefix Sums
How to generate prefix sums
Passing Cars Problem
Passing Cars Hint
Passing Cars Solution
Passing Cars Code Walkthrough
Div Count Problem
Div Count Hint
Div Count Solution
Div Count Code Walkthrough
Primes and Composites
Understanding Primes and Composites
Flags Problem
Flags Hint 1
Flags Hint 2
Flags Solution
Flags Code Walkthrough
Euclidean Algorithm
What's the Greatest Common Divisor Algorithm?
Chocolates By Numbers Problem
Chocolates By Numbers Hint
Chocolates By Numbers Solution
Chocolates By Numbers Walkthrough
Caterpillar method
How does a Caterpillar move?
Count Distinct Slices Problem
Count Distinct Slices Hint 1
Count Distinct Slices Hint 2
Count Distinct Slices Solution
Count Distinct Slices Walkthrough
Min Abs Sum Of Two Problem
Min Abs Sum Of Two Hint 1
Min Abs Sum Of Two Hint 2
Min Abs Sum Of Two Hint 3
Min Abs Sum Of Two Solution
Min Abs Sum Of Two Walkthrough
Greedy Algorithms
What's a Greedy Algorithm like?
Max Non Overlapping Segments Problem
Max Non Overlapping Segments Hint
Max Non Overlapping Segments Solution

Good to know

Know what's good
, what to watch for
, and possible dealbreakers
Explores puzzle solving, which is a must-have skill to excel in coding interviews
Taught by James Cutajar, who is an expert in coding interviews
Provides hands-on practice through a wide range of coding puzzles from Codility's training lessons
Suitable for preparing for coding interviews by companies like Codility, Hackerrank, and others

Save this course

Save Beat the Codility Coding Interview in Java to your list so you can find it easily later:
Save

Activities

Be better prepared before your course. Deepen your understanding during and after it. Supplement your coursework and achieve mastery of the topics covered in Beat the Codility Coding Interview in Java with these activities:
Compile a collection of useful resources (e.g., websites, videos, articles) for coding interviews
Create a centralized repository of resources to support your preparation for coding interviews.
Browse courses on Coding Interviews
Show steps
  • Search for relevant websites, videos, and articles on coding interviews.
  • Organize the resources into a structured format (e.g., document, spreadsheet).
  • Include a brief description of each resource and how it can be helpful.
Brush up on your programming skills in the language used for your coding interview
Ensure your programming skills are sharp and ready for the coding interview by practicing regularly.
Show steps
  • Solve coding problems in the language used for your coding interview.
  • Review and practice coding concepts and techniques.
  • Build small programming projects to apply your skills.
Review basic data structures and algorithms
Strengthen your foundation by reviewing basic data structures and algorithms to prepare for coding interviews.
Browse courses on Data Structures
Show steps
  • Go over lecture notes or textbooks on data structures and algorithms.
  • Practice implementing basic data structures and algorithms in your preferred programming language.
  • Solve coding problems using the data structures and algorithms you've reviewed.
Six other activities
Expand to see all activities and additional details
Show all nine activities
Practice solving coding puzzles from Codility
Practice solving coding puzzles to improve your problem-solving skills and prepare for your coding interview.
Browse courses on Problem Solving
Show steps
  • Choose a puzzle from the Codility training lessons.
  • Read the puzzle description and understand the problem.
  • Attempt to solve the puzzle on your own.
  • Review the hints provided to guide your solution.
  • Check the solution provided to verify your answer.
Watch video tutorials on common coding interview topics
Gain additional insights and perspectives by watching video tutorials on common coding interview topics.
Browse courses on Coding Interviews
Show steps
  • Search for video tutorials on specific coding interview topics.
  • Watch the tutorials and take notes on key concepts.
  • Practice applying the techniques discussed in the tutorials.
  • Review your notes and practice regularly to reinforce your understanding.
Join a study group or participate in peer practice sessions
Collaborate with peers to discuss coding challenges, share strategies, and improve your problem-solving skills.
Browse courses on Coding Interviews
Show steps
  • Identify or form a study group or peer practice session.
  • Establish regular meeting times and create a structured agenda.
  • Discuss coding puzzles and practice solving them together.
  • Provide feedback and support to your peers.
Attend a coding interview preparation workshop
Gain valuable insights and guidance by attending a coding interview preparation workshop.
Browse courses on Coding Interviews
Show steps
  • Research and identify reputable coding interview preparation workshops.
  • Enroll in a workshop that aligns with your learning goals.
  • Actively participate in the workshop discussions and exercises.
  • Network with other participants and industry professionals.
Create a mock coding interview project (e.g., a sample coding challenge or a resume)
Demonstrate your coding skills and understanding of the interview process by creating a mock coding interview project.
Browse courses on Interview Preparation
Show steps
  • Choose a coding challenge or scenario that reflects real-world coding interview problems.
  • Develop a solution using appropriate data structures and algorithms.
  • Write a detailed explanation and documentation for your solution.
  • Review and refine your project based on feedback from potential reviewers.
Become a mentor for junior developers or students preparing for coding interviews
Strengthen your understanding of coding concepts and hone your communication skills by mentoring others.
Browse courses on Mentoring
Show steps
  • Connect with junior developers or students seeking mentorship opportunities.
  • Offer guidance and support on coding problems and interview preparation.
  • Provide constructive feedback and encourage their growth.
  • Foster a positive and supportive learning environment.

Career center

Learners who complete Beat the Codility Coding Interview in Java will develop knowledge and skills that may be useful to these careers:

Reading list

We haven't picked any books for this reading list yet.

Share

Help others find this course page by sharing it with your friends and followers:

Similar courses

Here are nine courses similar to Beat the Codility Coding Interview in Java.
11 Essential Coding Interview Questions + Coding...
Most relevant
Blind 75 LeetCode Questions: Ace Algorithms Coding...
Most relevant
Data Structures & Algorithms in Java + 130 Leetcode...
Most relevant
JavaScript Interview Challenges
Most relevant
The Coding Interview Bootcamp: Algorithms + Data...
Most relevant
LeetCode in Java: Algorithms Coding Interview Questions
Most relevant
Sudoku made Easy
Most relevant
100 Algorithms Challenge
Most relevant
JavaScript Interview Prep: Practice Problems
Most relevant
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2024 OpenCourser