
Set up a cross-platform Object Pascal development environment with Free Pascal, download and install the compiler, and create a console hello world project.
Solve integer digit tasks in Delphi 2022 by extracting ones and tens and rotating digits; compute seconds since day start, day of week, and square packing in a rectangle.
Solve boolean-based programming tasks in Delphi: check oddness with mod two, test distinct digits of a three-digit number, recognize ascending/descending digit orders, and verify isosceles triangles.
Learn how to convert a decimal number to binary by dividing by two, collecting remainders, and counting the ones in the result.
Solve conditional problems with real numbers: sum the two largest of three; double or negate triples; identify the odd one out; and evaluate the real function.
Explore creating reusable functions and using for loops in Object Pascal/Delphi to solve problems like prime counting, power calculations, digit extraction, and computing distances between points.
Learn algorithms with Object Pascal Delphi 2022: implement one-pass solutions for the sixth of ten tasks, five input-sequence problems, including min/max, rectangle area and perimeter, and density-based selection.
This lecture tackles Delphi array tasks, including first and last minimal element indices, the first maximal odd number, maximal sum of adjacent elements, and minimal product of adjacent elements.
Solve seven Pascal Delphi array tasks. Use while loops with static and dynamic arrays, indexing from zero or one, to generate odd numbers, powers of two, Fibonacci terms, and sums.
Explore recursion in Object Pascal Delphi 2022 by implementing three tasks: factorial, double factorial, and digits sum using recursive functions and base cases.
Solve a warmup in object pascal/delphi by scoring a real world quiz with dynamic arrays and strings. Use a check answers function to compute total score.
Explore lexicographic string comparison using a compare function in Pascal/Delphi, and learn to sort players by name and then by id, using -1, 0, or 1 results.
Learn an algorithm to determine if a string has all unique characters by using a boolean array for ASCII indices and a length check to detect duplicates.
Use memoization to optimize a recursive fibonacci function, reducing exponential time by caching results. Explore bottom-up versus top-down dynamic programming to implement efficient fibonacci calculations.
Learn two sum solutions: a naive O(n^2) approach with O(1) space and a linear-time O(n) approach using a two-pointer method for sorted arrays.
In this problem, you are given an array of integer values representing the height of vertical lines on a 2D plane. Your task is to determine the pair of lines that, along with the x-axis, can form a container holding the maximum amount of water.
Learn how generics in Delphi enable a key-value pair data structure with a flexible generic class that works with multiple types.
Explore the stack data structure and its last-in, first-out behavior by performing push, pop, peak, and extract operations, illustrated with a Delphi generics-based stack of strings.
Learn to convert integers to binary using a stack in Object Pascal/Delphi 2022. Implement division by two, push remainders to a TStack, and pop to build the binary string.
Learn about the difference between LinkedList and Array data structures. Learn about its advantages and disadvantages. Use cases of LinkedList and its applications
Learn how to implement a LinkedList data structure from scratch and its various essential functions like printing and adding elements.
Implement the PrintList method and start using TLinkedList Data Structure that we created in the part 1
You will learn how to implement Prepend function for our LinkedList class!
You will learn how to implement InsertAfterNode function for our LinkedList class!
You will learn how to implement DeleteNode function for our LinkedList class!
Learn how to implement DeleteNodeAtPos function that takes a position and deletes it from the linkedlist.
Learn how to implement a length function with looping to find its length.
Learn how to implement the recursive length function
Program DelphiRocks;
// Every month new questions with answers
Begin
Want to learn Object Pascal programming language by solving algorithmic problems? This course is for you!
Want to participate in algorithmic contests? This course is for you!
Want to learn strongly typed, imperative, structured, and object-oriented programming language? This course is a quick start for you!
Want to learn real-world coding interview questions with Object Pascal? This course is for you!
The best way to create complex fundamental skills in programming is by solving problems. And this course is a good step for you to start learning algorithms. The practice you gain in this course will give you a really useful experience when you start developing commercial application development using Delphi.
The course begins by explaining the entry-level algorithmic problems using Object Pascal language. This course will be your guide to building efficient problems solving skills with Delphi.
Towards the end, you will solve more than 60+ problems and experience different real-world coding interview questions.
My sincere goal in this course is to make clear about Algorithms with Object Pascal as much as possible. Moreover, this course will have updates every month with new coding problems along with answers, and planning to widen up this course with Data Structures!
End.