study Algorithm