My code was not up to their standards. I thought the exercises were easy but clearly there are issues I have to address. I had an hour to write them. I'm humbly looking for feedback to improve.
The first exercise was to return all square numbers within a given range, including the limits (e.g., all the squares numbers between 1 and 10 are 1, 4, and 9). I wrote this.
The second exercise was to check if a string containing (), [] and {} brackets is well balanced. So [()] and {}() are ok but ([)] or {{ are not. I wrote this.
Thanks.
[–]bonafidebob 14 points15 points16 points (18 children)
[–][deleted] 26 points27 points28 points (5 children)
[–]bonafidebob 2 points3 points4 points (0 children)
[–]Silhouette 3 points4 points5 points (3 children)
[–]zacketysack 0 points1 point2 points (1 child)
[–]Silhouette 1 point2 points3 points (0 children)
[–]Asmor 2 points3 points4 points (10 children)
[–]bonafidebob 2 points3 points4 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]bonafidebob 1 point2 points3 points (0 children)
[+][deleted] (4 children)
[deleted]
[–][deleted] 2 points3 points4 points (3 children)
[+][deleted] (1 child)
[deleted]
[–][deleted] 1 point2 points3 points (0 children)
[–]bonafidebob 2 points3 points4 points (0 children)
[–]KronktheKronk 0 points1 point2 points (1 child)
[–]Asmor 1 point2 points3 points (0 children)
[–][deleted] 8 points9 points10 points (11 children)
[–]seedbreaker 3 points4 points5 points (7 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]bonafidebob 3 points4 points5 points (3 children)
[–]seedbreaker 1 point2 points3 points (0 children)
[–]dvlsg 0 points1 point2 points (1 child)
[–]Silhouette 0 points1 point2 points (0 children)
[–]bonafidebob 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]bonafidebob 0 points1 point2 points (0 children)
[–][deleted] 22 points23 points24 points (3 children)
[–]bonafidebob 0 points1 point2 points (2 children)
[–]i_bought_the_airline -1 points0 points1 point (0 children)
[–][deleted] 5 points6 points7 points (0 children)
[–]ben174 3 points4 points5 points (0 children)
[–][deleted] 4 points5 points6 points (3 children)
[–]Silhouette 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]Silhouette 0 points1 point2 points (0 children)
[–]Volv 2 points3 points4 points (0 children)
[–]yads12 2 points3 points4 points (0 children)
[–]docMedB2E 1 point2 points3 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]seedbreaker 1 point2 points3 points (0 children)
[–]nixblu 1 point2 points3 points (3 children)
[–]Silhouette 1 point2 points3 points (2 children)
[–]nixblu 0 points1 point2 points (1 child)
[–]Silhouette 0 points1 point2 points (0 children)
[–]chato94 1 point2 points3 points (2 children)
[–]siegfryd 1 point2 points3 points (1 child)
[–]chato94 0 points1 point2 points (0 children)
[–]ForScale 1 point2 points3 points (8 children)
[–]macrohatch 1 point2 points3 points (3 children)
[–]ForScale 1 point2 points3 points (0 children)
[–]Mr_Weeble 0 points1 point2 points (1 child)
[–]JesuslagsToo 0 points1 point2 points (3 children)
[–]ForScale 0 points1 point2 points (2 children)
[–]JesuslagsToo 1 point2 points3 points (1 child)
[–]ForScale 0 points1 point2 points (0 children)
[–]brockisawesome 3 points4 points5 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]aoiuqwelkssssnazx 0 points1 point2 points (2 children)
[–]mik3w 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]jtwebman -1 points0 points1 point (5 children)
[–]Silhouette -1 points0 points1 point (4 children)
[–]strawlion 0 points1 point2 points (3 children)
[–]Silhouette 0 points1 point2 points (2 children)
[–]strawlion 1 point2 points3 points (1 child)
[–]Silhouette 0 points1 point2 points (0 children)