{"id":31192,"date":"2023-03-13T09:13:50","date_gmt":"2023-03-13T16:13:50","guid":{"rendered":"https:\/\/coderpad.io\/?p=31192"},"modified":"2023-08-03T15:12:52","modified_gmt":"2023-08-03T22:12:52","slug":"tiny-interview-c-anagrams","status":"publish","type":"post","link":"https:\/\/coderpad.io\/blog\/coding-challenges\/tiny-interview-c-anagrams\/","title":{"rendered":"Code Challenge: C++ Anagrams"},"content":{"rendered":"\n<p>Anagrams are words created from the rearrangement of another word. For this code challenge, you are to implement a function which takes a list of words as an argument and finds all anagrams within the list.<\/p>\n\n\n\n<p>Please check the sandbox for further instructions:<\/p>\n\n\n<div\n\tclass=\"sandbox-embed responsive-embed  sandbox-embed--full-width\"\n\tstyle=\"padding-top: 125%\"\ndata-block-name=\"coderpad-sandbox-embed\">\n\t<iframe src=\"https:\/\/embed.coderpad.io\/sandbox?question_id=223934&#038;use_question_button\" width=\"640\" height=\"800\" loading=\"lazy\" aria-label=\"Try out the CoderPad sandbox\"><\/iframe>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Code challenge solution<\/h2>\n\n\n\n<p>Verify your solution with the official solution in this\u00a0<a href=\"https:\/\/app.coderpad.io\/KHKAFDK6\/playback#734\">sandbox<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">More resources<\/h2>\n\n\n\n<p>We have made available these extra resources to sharpen your C++ coding skills:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/coderpad.io\/interview-questions\/cpp-interview-questions\/\">25+ interview questions for C++<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/coderpad.io\/online-coding-tests\/cpp-online-coding-test\/\">Online coding tests for C++<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"markdown-want-to-conduct-interviews-on-this-platform\">Want to conduct interviews on this platform?<\/h2>\n\n\n\n<p>Check out CoderPad : pick any interview question or create your own, then invite your candidate to a shared live-coding session on an IDE like this one. You even get 2 free interviews per month forever using&nbsp;<a href=\"https:\/\/app.coderpad.io\/register?source=Tiny+Interviews\">this registration link<\/a>!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Anagrams are words created from the rearrangement of another word. For this code challenge, you are to implement a function which takes a list of words as an argument and finds all anagrams within the list.<\/p>\n","protected":false},"author":1,"featured_media":31853,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[22],"tags":[],"persona":[29],"blog-programming-language":[44],"keyword-cluster":[],"class_list":["post-31192","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-coding-challenges"],"acf":[],"_links":{"self":[{"href":"https:\/\/coderpad.io\/wp-json\/wp\/v2\/posts\/31192","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/coderpad.io\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/coderpad.io\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/coderpad.io\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/coderpad.io\/wp-json\/wp\/v2\/comments?post=31192"}],"version-history":[{"count":19,"href":"https:\/\/coderpad.io\/wp-json\/wp\/v2\/posts\/31192\/revisions"}],"predecessor-version":[{"id":35843,"href":"https:\/\/coderpad.io\/wp-json\/wp\/v2\/posts\/31192\/revisions\/35843"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/coderpad.io\/wp-json\/wp\/v2\/media\/31853"}],"wp:attachment":[{"href":"https:\/\/coderpad.io\/wp-json\/wp\/v2\/media?parent=31192"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/coderpad.io\/wp-json\/wp\/v2\/categories?post=31192"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/coderpad.io\/wp-json\/wp\/v2\/tags?post=31192"},{"taxonomy":"persona","embeddable":true,"href":"https:\/\/coderpad.io\/wp-json\/wp\/v2\/persona?post=31192"},{"taxonomy":"blog-programming-language","embeddable":true,"href":"https:\/\/coderpad.io\/wp-json\/wp\/v2\/blog-programming-language?post=31192"},{"taxonomy":"keyword-cluster","embeddable":true,"href":"https:\/\/coderpad.io\/wp-json\/wp\/v2\/keyword-cluster?post=31192"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}