Skip to content

Latest commit

 

History

History
44 lines (25 loc) · 1.85 KB

File metadata and controls

44 lines (25 loc) · 1.85 KB

Stack and Queue

Implementation of Stack and Queue (circular queue) data structures in Pharo.

Testing Stack code in Playground (attaching images for reference)

image

Output

Screenshot 2025-04-04 102303

Testing code for Queue in Playground

Screenshot 2025-04-04 105915

Output

Screenshot 2025-04-04 105930

Warshall Algorithm

Implementation of Warshall algorithm to find transitive closure

Screenshot 2025-04-05 190357

Bisection Method

Implementation of Bisection Method to find root of an equation

image

Lagrange's Interpolation

Implementation of Lagrange's Interpolation to estimate the value of a function at any point within a certain range

image

Reference: CLRS, My notes from Discrete Mathematics and Numerical Methods

Work in progress as of now. I might add the Pharo implementation of more data structures and algorithms or some other basic beginner level programs that I used to write in JAVA. Next topics to implement:

Bubble sort, Newton Raphson method, Breadth First Search, Depth First Search