Chalarangelo/30-seconds-of-code

View on GitHub
public/assets/illustrations/ds-linked-list.svg

Summary

Maintainability
Test Coverage
<svg width="800" height="133" viewBox="0 0 800 133" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="24" y="41" width="80" height="80" rx="4" fill="#161632"/>
<path d="M64.5114 98.4773C62.1705 98.4773 60.0795 98.0739 58.2386 97.267C56.4091 96.4602 54.9602 95.3409 53.892 93.9091C52.8352 92.4659 52.267 90.7955 52.1875 88.8977H57.5398C57.608 89.9318 57.9545 90.8295 58.5795 91.5909C59.2159 92.3409 60.0455 92.9205 61.0682 93.3295C62.0909 93.7386 63.2273 93.9432 64.4773 93.9432C65.8523 93.9432 67.0682 93.7045 68.125 93.2273C69.1932 92.75 70.0284 92.0852 70.6307 91.233C71.233 90.3693 71.5341 89.375 71.5341 88.25C71.5341 87.0795 71.233 86.0511 70.6307 85.1648C70.0398 84.267 69.1705 83.5625 68.0227 83.0511C66.8864 82.5398 65.5114 82.2841 63.8977 82.2841H60.9489V77.9886H63.8977C65.1932 77.9886 66.3295 77.7557 67.3068 77.2898C68.2955 76.8239 69.0682 76.1761 69.625 75.3466C70.1818 74.5057 70.4602 73.5227 70.4602 72.3977C70.4602 71.3182 70.2159 70.3807 69.7273 69.5852C69.25 68.7784 68.5682 68.1477 67.6818 67.6932C66.8068 67.2386 65.7727 67.0114 64.5795 67.0114C63.4432 67.0114 62.3807 67.2216 61.392 67.642C60.4148 68.0511 59.6193 68.642 59.0057 69.4148C58.392 70.1761 58.0625 71.0909 58.017 72.1591H52.9205C52.9773 70.2727 53.5341 68.6136 54.5909 67.1818C55.6591 65.75 57.0682 64.6307 58.8182 63.8239C60.5682 63.017 62.5114 62.6136 64.6477 62.6136C66.8864 62.6136 68.8182 63.0511 70.4432 63.9261C72.0795 64.7898 73.3409 65.9432 74.2273 67.3864C75.125 68.8295 75.5682 70.4091 75.5568 72.125C75.5682 74.0795 75.0227 75.7386 73.9205 77.1023C72.8295 78.4659 71.375 79.3807 69.5568 79.8466V80.1193C71.875 80.4716 73.6705 81.392 74.9432 82.8807C76.2273 84.3693 76.8636 86.2159 76.8523 88.4205C76.8636 90.3409 76.3295 92.0625 75.25 93.5852C74.1818 95.108 72.7216 96.3068 70.8693 97.1818C69.017 98.0455 66.8977 98.4773 64.5114 98.4773Z" fill="#E3E3E8"/>
<rect x="160" y="41" width="80" height="80" rx="4" fill="#161632"/>
<path d="M188.358 98V94.1818L200.17 81.9432C201.432 80.6136 202.472 79.4489 203.29 78.4489C204.119 77.4375 204.739 76.4773 205.148 75.5682C205.557 74.6591 205.761 73.6932 205.761 72.6705C205.761 71.5114 205.489 70.5114 204.943 69.6705C204.398 68.8182 203.653 68.1648 202.71 67.7102C201.767 67.2443 200.705 67.0114 199.523 67.0114C198.273 67.0114 197.182 67.267 196.25 67.7784C195.318 68.2898 194.602 69.0114 194.102 69.9432C193.602 70.875 193.352 71.9659 193.352 73.2159H188.324C188.324 71.0909 188.813 69.233 189.79 67.642C190.767 66.0511 192.108 64.8182 193.812 63.9432C195.517 63.0568 197.455 62.6136 199.625 62.6136C201.818 62.6136 203.75 63.0511 205.42 63.9261C207.102 64.7898 208.415 65.9716 209.358 67.4716C210.301 68.9602 210.773 70.642 210.773 72.517C210.773 73.8125 210.528 75.0795 210.04 76.3182C209.563 77.5568 208.727 78.9375 207.534 80.4602C206.341 81.9716 204.682 83.8068 202.557 85.9659L195.619 93.2273V93.483H211.335V98H188.358Z" fill="#E3E3E8"/>
<rect x="432" y="41" width="80" height="80" rx="4" fill="#161632"/>
<path d="M471.881 98.4773C469.744 98.4773 467.824 98.0682 466.119 97.25C464.426 96.4205 463.074 95.2841 462.062 93.8409C461.051 92.3977 460.511 90.75 460.443 88.8977H465.557C465.682 90.3977 466.347 91.6307 467.551 92.5966C468.756 93.5625 470.199 94.0455 471.881 94.0455C473.222 94.0455 474.409 93.7386 475.443 93.125C476.489 92.5 477.307 91.642 477.898 90.5511C478.5 89.4602 478.801 88.2159 478.801 86.8182C478.801 85.3977 478.494 84.1307 477.881 83.017C477.267 81.9034 476.42 81.0284 475.341 80.392C474.273 79.7557 473.045 79.4318 471.659 79.4205C470.602 79.4205 469.54 79.6023 468.472 79.9659C467.403 80.3295 466.54 80.8068 465.881 81.3977L461.057 80.6818L463.017 63.0909H482.21V67.608H467.398L466.29 77.375H466.494C467.176 76.7159 468.08 76.1648 469.205 75.7216C470.341 75.2784 471.557 75.0568 472.852 75.0568C474.977 75.0568 476.869 75.5625 478.528 76.5739C480.199 77.5852 481.511 78.9659 482.466 80.7159C483.432 82.4545 483.909 84.4545 483.898 86.7159C483.909 88.9773 483.398 90.9943 482.364 92.767C481.341 94.5398 479.92 95.9375 478.102 96.9602C476.295 97.9716 474.222 98.4773 471.881 98.4773Z" fill="#E3E3E8"/>
<rect x="296" y="41" width="80" height="80" rx="4" fill="#161632"/>
<path d="M340.602 63.0909V98H335.318V68.375H335.114L326.761 73.8295V68.7841L335.472 63.0909H340.602Z" fill="#E3E3E8"/>
<rect x="568" y="41" width="80" height="80" rx="4" fill="#161632"/>
<path d="M594.625 91.1818V86.9205L609.71 63.0909H613.068V69.3636H610.938L600.148 86.4432V86.7159H620.824V91.1818H594.625ZM611.176 98V89.8864L611.21 87.9432V63.0909H616.205V98H611.176Z" fill="#E3E3E8"/>
<path d="M166 81L151 72.3397V89.6603L166 81ZM102 82.5H152.5V79.5H102V82.5Z" fill="#E3E3E8"/>
<path d="M438 81L423 72.3397V89.6603L438 81ZM374 82.5H424.5V79.5H374V82.5Z" fill="#E3E3E8"/>
<path d="M575 81L560 72.3397V89.6603L575 81ZM511 82.5H561.5V79.5H511V82.5Z" fill="#E3E3E8"/>
<path d="M710 81L695 72.3397V89.6603L710 81ZM646 82.5H696.5V79.5H646V82.5Z" fill="#E3E3E8"/>
<path d="M302 81L287 72.3397V89.6603L302 81ZM238 82.5H288.5V79.5H238V82.5Z" fill="#E3E3E8"/>
<path d="M720.28 78.7273V91H718.004V71.3636H720.216V74.4446H720.42C720.881 73.4389 721.597 72.6335 722.568 72.0284C723.548 71.4148 724.759 71.108 726.199 71.108C727.52 71.108 728.679 71.3849 729.676 71.9389C730.682 72.4844 731.462 73.2898 732.016 74.3551C732.578 75.4205 732.859 76.7287 732.859 78.2798V91H730.584V78.4205C730.584 76.8097 730.132 75.5355 729.229 74.598C728.334 73.6605 727.132 73.1918 725.624 73.1918C724.592 73.1918 723.676 73.4134 722.875 73.8565C722.074 74.2997 721.439 74.9389 720.97 75.7741C720.51 76.6009 720.28 77.5852 720.28 78.7273ZM751.329 83.4957V71.3636H753.605V91H751.329V87.7401H751.15C750.69 88.7457 749.961 89.5852 748.964 90.2585C747.967 90.9233 746.748 91.2557 745.308 91.2557C744.055 91.2557 742.943 90.983 741.971 90.4375C741 89.8835 740.237 89.0739 739.683 88.0085C739.129 86.9432 738.852 85.6349 738.852 84.0838V71.3636H741.127V83.9432C741.127 85.4773 741.579 86.7131 742.483 87.6506C743.386 88.5795 744.545 89.044 745.96 89.044C746.846 89.044 747.699 88.831 748.517 88.4048C749.335 87.9787 750.008 87.3565 750.537 86.5384C751.065 85.7116 751.329 84.6974 751.329 83.4957ZM759.629 64.8182H761.905V86.5384C761.905 87.5526 762.071 88.2386 762.403 88.5966C762.744 88.9545 763.29 89.0909 764.04 89.0057C764.295 88.9886 764.483 88.9673 764.602 88.9418C764.73 88.9077 764.845 88.8778 764.947 88.8523L765.42 90.8466C765.241 90.8977 765.007 90.9489 764.717 91C764.428 91.0511 764.129 91.081 763.822 91.0895C762.459 91.1747 761.419 90.8764 760.703 90.1946C759.987 89.5043 759.629 88.4645 759.629 87.0753V64.8182ZM769.016 64.8182H771.292V86.5384C771.292 87.5526 771.458 88.2386 771.79 88.5966C772.131 88.9545 772.676 89.0909 773.426 89.0057C773.682 88.9886 773.87 88.9673 773.989 88.9418C774.117 88.9077 774.232 88.8778 774.334 88.8523L774.807 90.8466C774.628 90.8977 774.394 90.9489 774.104 91C773.814 91.0511 773.516 91.081 773.209 91.0895C771.846 91.1747 770.806 90.8764 770.09 90.1946C769.374 89.5043 769.016 88.4645 769.016 87.0753V64.8182Z" fill="#E3E3E8"/>
<path d="M33.1136 35V17.5455H35.2273V25.3182H44.5341V17.5455H46.6477V35H44.5341V27.1932H35.2273V35H33.1136ZM50.8793 35V17.5455H61.4134V19.4205H52.9929V25.3182H60.8679V27.1932H52.9929V33.125H61.5497V35H50.8793ZM65.9389 35H63.723L70.1321 17.5455H72.3139L78.723 35H76.5071L71.2912 20.3068H71.1548L65.9389 35ZM66.7571 28.1818H75.6889V30.0568H66.7571V28.1818ZM86.8281 35H81.4418V17.5455H87.0668C88.7599 17.5455 90.2088 17.8949 91.4134 18.5938C92.6179 19.2869 93.5412 20.2841 94.1832 21.5852C94.8253 22.8807 95.1463 24.4318 95.1463 26.2386C95.1463 28.0568 94.8224 29.6222 94.1747 30.9347C93.527 32.2415 92.5838 33.2472 91.3452 33.9517C90.1065 34.6506 88.6009 35 86.8281 35ZM83.5554 33.125H86.6918C88.1349 33.125 89.331 32.8466 90.2798 32.2898C91.2287 31.733 91.9361 30.9403 92.402 29.9119C92.8679 28.8835 93.1009 27.6591 93.1009 26.2386C93.1009 24.8295 92.8707 23.6165 92.4105 22.5994C91.9503 21.5767 91.2628 20.7926 90.348 20.2472C89.4332 19.696 88.294 19.4205 86.9304 19.4205H83.5554V33.125Z" fill="#C7C7D1"/>
<path d="M584.159 19.4205V17.5455H597.25V19.4205H591.761V35H589.648V19.4205H584.159ZM599.189 35H596.973L603.382 17.5455H605.564L611.973 35H609.757L604.541 20.3068H604.405L599.189 35ZM600.007 28.1818H608.939V30.0568H600.007V28.1818ZM616.805 17.5455V35H614.692V17.5455H616.805ZM621.043 35V17.5455H623.157V33.125H631.271V35H621.043Z" fill="#C7C7D1"/>
</svg>